Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002625/0.002626, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 58.06 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4632, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003145/0.4664, allocations: 0.7955 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.4688, allocations: 1.291 MB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.4689, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.069e-05/0.469, allocations: 3.938 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.4691, allocations: 19.84 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.47, allocations: 225 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.4703, allocations: 231.5 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4704, allocations: 12.22 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.4706, allocations: 87.86 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.4708, allocations: 83.69 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.4708, allocations: 20 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.4709, allocations: 23.98 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.471, allocations: 27.95 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.4712, allocations: 87.73 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.4715, allocations: 211.6 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4715, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4716, allocations: 4 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.4716, allocations: 0 / 1.071 GB, free: 7.785 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001062/0.4726, allocations: 498.6 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4727, allocations: 12.03 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.4728, allocations: 20.75 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.4737, allocations: 248.3 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.4738, allocations: 12.38 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.4739, allocations: 24.36 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.4742, allocations: 131.9 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4743, allocations: 3.938 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.4743, allocations: 11.98 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.4743, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.4745, allocations: 67.83 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.4757, allocations: 0.5124 MB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.4761, allocations: 153.2 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.4763, allocations: 65.69 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.4763, allocations: 8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004793/0.4768, allocations: 207.9 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.933e-06/0.4768, allocations: 0 / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.000876/0.4777, allocations: 325.1 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.4778, allocations: 89.05 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4779, allocations: 134 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.478, allocations: 37.7 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4781, allocations: 104.5 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.4782, allocations: 47.41 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.4784, allocations: 73.69 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4785, allocations: 322.8 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.4788, allocations: 92.22 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.4792, allocations: 152.2 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.4797, allocations: 246.9 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4797, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009198/0.4806, allocations: 359.9 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/0.4807, allocations: 63.34 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4807, allocations: 4 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.4808, allocations: 4 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4809, allocations: 23.92 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.4809, allocations: 7.938 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.4815, allocations: 71.97 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.4816, allocations: 15.98 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0002054/0.4818, allocations: 148 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.4818, allocations: 15.81 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.4819, allocations: 16.48 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.4819, allocations: 4 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.482, allocations: 3.938 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.482, allocations: 4 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009862/0.483, allocations: 0.6109 MB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.483, allocations: 0 / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.483, allocations: 11.98 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4831, allocations: 3.938 kB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.4831, allocations: 11.98 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.4831, allocations: 3.938 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.4831, allocations: 11.94 kB / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.4837, allocations: 410.5 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.4838, allocations: 92.94 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.4839, allocations: 11.94 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.4841, allocations: 11.98 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.4842, allocations: 27.95 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.4842, allocations: 15.98 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.011e-05/0.4843, allocations: 91.28 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4843, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006039/0.4849, allocations: 55.98 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002339/0.4852, allocations: 117 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.4857, allocations: 347 kB / 1.076 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4858, allocations: 4.062 kB / 1.076 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.4859, allocations: 122.7 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.4864, allocations: 31.91 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.487, allocations: 298.2 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.4873, allocations: 0.705 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.4874, allocations: 21.55 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.4874, allocations: 19.44 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.4874, allocations: 0 / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.006431/0.4939, allocations: 2.478 MB / 1.08 GB, free: 13.52 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)