Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001345/0.001345, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 186.4 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 251.6 MB / 0.5089 GB, free: 3.27 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.89 kB / 0.6218 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7401, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.003557/0.7437, allocations: 1.388 MB / 0.7254 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005811/0.7444, allocations: 188.3 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.7444, allocations: 0 / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.131e-05/0.7445, allocations: 0 / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.7447, allocations: 3.938 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.7449, allocations: 15.97 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.745, allocations: 31.86 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.7452, allocations: 8 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.7453, allocations: 11.94 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.7454, allocations: 19.92 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.7454, allocations: 4 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.7454, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.7454, allocations: 4 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.7455, allocations: 15.92 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.7456, allocations: 27.89 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.7456, allocations: 0 / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7457, allocations: 0 / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.7457, allocations: 0 / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005841/0.7463, allocations: 357.3 kB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.7463, allocations: 12.03 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.7464, allocations: 0.9375 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.7465, allocations: 164.4 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.7466, allocations: 384 / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.7466, allocations: 8.375 kB / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.7467, allocations: 42.19 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7467, allocations: 192 / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.7467, allocations: 7.875 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.7468, allocations: 7.984 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.7468, allocations: 15.98 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.7473, allocations: 252.9 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.7477, allocations: 82.45 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.7477, allocations: 16.86 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.7477, allocations: 0 / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.7479, allocations: 55.48 kB / 0.7266 GB, free: 10.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.7479, allocations: 0 / 0.7266 GB, free: 10.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002022/0.7481, allocations: 61.62 kB / 0.7267 GB, free: 10.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.7482, allocations: 51.41 kB / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.7483, allocations: 109.8 kB / 0.7269 GB, free: 9.922 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.7483, allocations: 33.7 kB / 0.7269 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.7484, allocations: 80.14 kB / 0.727 GB, free: 9.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.7484, allocations: 15.81 kB / 0.727 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.7485, allocations: 21.64 kB / 0.727 GB, free: 9.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7486, allocations: 314.8 kB / 0.7273 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.7486, allocations: 8 kB / 0.7273 GB, free: 9.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.7487, allocations: 21.7 kB / 0.7273 GB, free: 9.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.7487, allocations: 33.66 kB / 0.7274 GB, free: 9.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7487, allocations: 3.938 kB / 0.7274 GB, free: 9.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.53e-05/0.7488, allocations: 57.69 kB / 0.7274 GB, free: 9.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7489, allocations: 6.031 kB / 0.7274 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.7489, allocations: 0 / 0.7274 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.7489, allocations: 0 / 0.7274 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.963e-05/0.7489, allocations: 7.938 kB / 0.7274 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.7489, allocations: 0 / 0.7274 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.749, allocations: 12.3 kB / 0.7274 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.749, allocations: 8.031 kB / 0.7275 GB, free: 9.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,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): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 8.468e-05/0.7491, allocations: 113.8 kB / 0.7276 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.7491, allocations: 7.906 kB / 0.7276 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.7491, allocations: 3.906 kB / 0.7276 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7492, allocations: 0 / 0.7276 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.7492, allocations: 4 kB / 0.7276 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7492, allocations: 0 / 0.7276 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.7493, allocations: 173.6 kB / 0.7277 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7493, allocations: 3.938 kB / 0.7278 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.7494, allocations: 8 kB / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7494, allocations: 0 / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.7494, allocations: 3.984 kB / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7494, allocations: 0 / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7494, allocations: 0 / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.7495, allocations: 89.22 kB / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.7496, allocations: 81.02 kB / 0.7279 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.7496, allocations: 0 / 0.7279 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.7497, allocations: 11.98 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.7497, allocations: 8 kB / 0.7279 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.7497, allocations: 0 / 0.7279 GB, free: 8.668 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.7498, allocations: 87.27 kB / 0.728 GB, free: 8.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7498, allocations: 0 / 0.728 GB, free: 8.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001861/0.75, allocations: 8 kB / 0.728 GB, free: 8.574 MB / 0.545 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,booPul.y,booPul.pulseStart) * 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.0001695/0.7501, allocations: 95.25 kB / 0.7281 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.7503, allocations: 35.92 kB / 0.7282 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7503, allocations: 8 kB / 0.7282 GB, free: 8.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.7503, allocations: 8 kB / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.7506, allocations: 15.92 kB / 0.7282 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.751, allocations: 137.9 kB / 0.7283 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.7513, allocations: 0.6768 MB / 0.729 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.7514, allocations: 8 kB / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.7514, allocations: 7.438 kB / 0.729 GB, free: 7.527 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.7514, allocations: 4 kB / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of Templates: time 0.003184/0.7546, allocations: 0.5124 MB / 0.7295 GB, free: 7.016 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)