Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001124, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.001074/0.001074, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0024/0.0024, allocations: 291 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9779/0.9779, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 100.2 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4553, allocations: 86.98 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002354/0.4577, allocations: 1.45 MB / 0.7684 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.4584, allocations: 448.7 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.4585, allocations: 4 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.4585, allocations: 3.938 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.4586, allocations: 7.922 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.4587, allocations: 23.91 kB / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.4588, allocations: 51.84 kB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4589, allocations: 12 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.459, allocations: 19.92 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.4591, allocations: 23.92 kB / 0.769 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.4591, allocations: 4 kB / 0.769 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.4591, allocations: 4 kB / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.4591, allocations: 19.84 kB / 0.769 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.4592, allocations: 31.86 kB / 0.7691 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.4593, allocations: 39.55 kB / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4593, allocations: 0 / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4593, allocations: 4 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4593, allocations: 0 / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004969/0.4598, allocations: 361.9 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4599, allocations: 8.031 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.4599, allocations: 8.844 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.46, allocations: 164.4 kB / 0.7696 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4601, allocations: 8.375 kB / 0.7696 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4601, allocations: 4.375 kB / 0.7696 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.4602, allocations: 65.92 kB / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4602, allocations: 0 / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4602, allocations: 4 kB / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4602, allocations: 4 kB / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/0.4603, allocations: 19.98 kB / 0.7697 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.4608, allocations: 308.6 kB / 0.77 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.4609, allocations: 62.55 kB / 0.7701 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.4609, allocations: 28.94 kB / 0.7701 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.461, allocations: 0 / 0.7701 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.4611, allocations: 71.42 kB / 0.7702 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4611, allocations: 4 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000214/0.4613, allocations: 97.8 kB / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.4614, allocations: 55.41 kB / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.4615, allocations: 113.9 kB / 0.7704 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.4615, allocations: 29.64 kB / 0.7705 GB, free: 176 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.4615, allocations: 84.14 kB / 0.7705 GB, free: 88 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.4616, allocations: 23.7 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.4616, allocations: 21.72 kB / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4617, allocations: 326.8 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.4618, allocations: 15.98 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.4618, allocations: 51.38 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.693e-05/0.4619, allocations: 63.36 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4619, allocations: 7.938 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001429/0.4621, allocations: 97.45 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4621, allocations: 4 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4621, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4621, allocations: 8.031 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.196e-05/0.4622, allocations: 12 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4622, allocations: 0 / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.4623, allocations: 11.92 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.4623, allocations: 4 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.747e-05/0.4624, allocations: 121.7 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.4624, allocations: 8 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.4624, allocations: 7.953 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4624, allocations: 4 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4624, allocations: 4.281 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.4625, allocations: 85.02 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4625, allocations: 3.938 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.4626, allocations: 7.984 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.4626, allocations: 7.984 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001797/0.4628, allocations: 172.9 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001719/0.463, allocations: 266.7 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.918e-05/0.463, allocations: 28.11 kB / 0.7718 GB, free: 14.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.4631, allocations: 83.22 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Backend: time 3.71e-07/0.4631, allocations: 0 / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.4634, allocations: 114.3 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004935/0.4639, allocations: 0.5806 MB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of Templates: time 0.00279/0.4667, allocations: 0.7908 MB / 0.7734 GB, free: 13.04 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)