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.00114/0.00114, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001172/0.001172, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 291.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9719/0.9719, allocations: 169.3 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 91.86 kB / 0.6821 GB, free: 7.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/0.5444, allocations: 86.98 MB / 0.767 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002727/0.5472, allocations: 1.457 MB / 0.7684 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000786/0.548, allocations: 440.7 kB / 0.7689 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.5481, allocations: 3.938 kB / 0.7689 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.5481, allocations: 3.984 kB / 0.7689 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.5482, allocations: 15.88 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.5484, allocations: 15.98 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.5485, allocations: 59.77 kB / 0.769 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.5486, allocations: 11.98 kB / 0.769 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.5487, allocations: 15.94 kB / 0.769 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.5488, allocations: 23.91 kB / 0.769 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.5488, allocations: 7.938 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.5488, allocations: 4 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.5489, allocations: 12 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.5489, allocations: 31.84 kB / 0.7691 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.549, allocations: 47.48 kB / 0.7691 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.549, allocations: 0 / 0.7691 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.467e-06/0.5491, allocations: 3.984 kB / 0.7691 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.5491, allocations: 0 / 0.7691 GB, free: 1.844 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.0004901/0.5496, allocations: 353.9 kB / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5496, allocations: 16.02 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.5497, allocations: 4.844 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.5498, allocations: 168.4 kB / 0.7696 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.5498, allocations: 8.375 kB / 0.7696 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.5498, allocations: 4.375 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.5499, allocations: 61.92 kB / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.55, allocations: 0 / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.55, allocations: 0 / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.55, allocations: 4 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.5501, allocations: 23.98 kB / 0.7697 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.5506, allocations: 308.6 kB / 0.77 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.5507, allocations: 54.56 kB / 0.7701 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.5508, allocations: 28.95 kB / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.5508, allocations: 0 / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.551, allocations: 83.39 kB / 0.7702 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.551, allocations: 0 / 0.7702 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002309/0.5512, allocations: 105.7 kB / 0.7703 GB, free: 488 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.5512, allocations: 55.41 kB / 0.7703 GB, free: 420 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.5513, allocations: 97.86 kB / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.5514, allocations: 37.69 kB / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.009e-05/0.5514, allocations: 80.14 kB / 0.7705 GB, free: 184 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.5514, allocations: 19.72 kB / 0.7706 GB, free: 164 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.5515, allocations: 29.7 kB / 0.7706 GB, free: 128 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5516, allocations: 326.8 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.5516, allocations: 15.98 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.5517, allocations: 43.42 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.006e-05/0.5518, allocations: 67.55 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5518, allocations: 3.938 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001415/0.5519, allocations: 101.5 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.552, allocations: 4 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.552, allocations: 0 / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.552, allocations: 4 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.5521, allocations: 15.92 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5521, allocations: 0 / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.5522, allocations: 11.94 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.5522, allocations: 4 kB / 0.7712 GB, free: 15.5 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 9.602e-05/0.5523, allocations: 131 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.5523, allocations: 4 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.5523, allocations: 7.969 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5523, allocations: 0 / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5524, allocations: 0 / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.5524, allocations: 88.95 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.5524, allocations: 3.938 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.5525, allocations: 11.98 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.5525, allocations: 7.984 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001878/0.5527, allocations: 172.9 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001755/0.5529, allocations: 258.8 kB / 0.7718 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.134e-05/0.553, allocations: 27.92 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.553, allocations: 83.22 kB / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.553, allocations: 0 / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.5534, allocations: 118.3 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004917/0.5539, allocations: 0.5847 MB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of Templates: time 0.003132/0.557, allocations: 0.7914 MB / 0.7734 GB, free: 13.13 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)