Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 199.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 60.55 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4719, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.003217/0.4752, allocations: 0.6088 MB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.4775, allocations: 1.122 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.4776, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.4777, allocations: 3.938 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.4778, allocations: 3.938 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.4787, allocations: 115.7 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.479, allocations: 99.81 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.4792, allocations: 11.98 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.4793, allocations: 27.98 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.4795, allocations: 31.89 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.4795, allocations: 8 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.4796, allocations: 23.98 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.4797, allocations: 15.88 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.4798, allocations: 31.91 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.48, allocations: 79.78 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4801, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4801, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.4801, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007735/0.4809, allocations: 377.4 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/0.4809, allocations: 12.03 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.481, allocations: 4.938 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.4812, allocations: 164.3 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.4813, allocations: 16.36 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.4813, allocations: 8.359 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.4814, allocations: 38.25 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4815, allocations: 4.188 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.4815, allocations: 3.938 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4815, allocations: 3.938 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.4816, allocations: 7.938 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.4823, allocations: 304.8 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.4824, allocations: 26.52 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.4825, allocations: 16.92 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.4825, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.4828, allocations: 63.33 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.973e-06/0.4828, allocations: 0 / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003447/0.4832, allocations: 77.58 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.4832, allocations: 51.41 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4834, allocations: 109.8 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.4835, allocations: 25.7 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4836, allocations: 88.14 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.4837, allocations: 3.906 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4838, allocations: 29.7 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.484, allocations: 322.8 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.4842, allocations: 31.98 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4843, allocations: 50.5 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.4845, allocations: 84.27 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.4846, allocations: 7.875 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004383/0.485, allocations: 147.2 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.4851, allocations: 45.75 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4851, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.4851, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.4852, allocations: 3.938 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4852, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.4855, allocations: 27.97 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.4856, allocations: 7.984 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.4857, allocations: 122.3 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.4858, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.4858, allocations: 7.906 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4858, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4858, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4858, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.486, allocations: 169.6 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4861, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.4861, allocations: 4 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4861, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4861, allocations: 64 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4861, allocations: 8 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4861, allocations: 7.922 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.4863, allocations: 93.12 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.4864, allocations: 81.11 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.4864, allocations: 4 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.4865, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.4865, allocations: 3.984 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4865, allocations: 4 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.06e-05/0.4866, allocations: 87.67 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4866, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000405/0.487, allocations: 20 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.4872, allocations: 107.2 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.4876, allocations: 127.3 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4876, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.4877, allocations: 15.98 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.488, allocations: 20 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.4884, allocations: 137 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.4888, allocations: 0.6807 MB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.4889, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.4889, allocations: 11.44 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4889, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of Templates: time 0.0052/0.4941, allocations: 1.08 MB / 1.075 GB, free: 2.891 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)