Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7507/0.7507, allocations: 127.4 MB / 134.9 MB, free: 3.449 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 188.9 kB / 164.6 MB, free: 11.64 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008404/0.0008403, allocations: 105.6 kB / 476.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.776e-05, allocations: 3.062 kB / 0.5466 GB, free: 95.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.2386, allocations: 110.1 MB / 0.7291 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.2388, allocations: 87.89 kB / 0.7292 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01976/0.2586, allocations: 7.814 MB / 0.7368 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2586, allocations: 4 kB / 0.7368 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.035e-05/0.2586, allocations: 11.98 kB / 0.7368 GB, free: 4.871 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008873/0.2595, allocations: 0.6406 MB / 0.7374 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2596, allocations: 8.031 kB / 0.7375 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.2597, allocations: 63.52 kB / 0.7375 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.2602, allocations: 400.2 kB / 0.7379 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.2602, allocations: 19.94 kB / 0.7379 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.2603, allocations: 27.98 kB / 0.7379 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004656/0.2608, allocations: 229.5 kB / 0.7382 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.2613, allocations: 341.7 kB / 0.7385 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2614, allocations: 0 / 0.7385 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.2614, allocations: 7.938 kB / 0.7385 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2614, allocations: 15.94 kB / 0.7385 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.2631, allocations: 1.303 MB / 0.7398 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.2637, allocations: 299.7 kB / 0.7401 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.2639, allocations: 108.9 kB / 0.7402 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.2639, allocations: 4 kB / 0.7402 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.2642, allocations: 161.3 kB / 0.7403 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.2642, allocations: 0 / 0.7403 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0004589/0.2646, allocations: 267 kB / 0.7406 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.2647, allocations: 133.1 kB / 0.7407 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.265, allocations: 286.3 kB / 0.741 GB, free: 372 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.2651, allocations: 29.7 kB / 0.741 GB, free: 336 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.2652, allocations: 236.4 kB / 0.7412 GB, free: 92 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.2862/0.5514, allocations: 93.8 kB / 0.7413 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.5515, allocations: 0 / 0.7413 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5516, allocations: 348.8 kB / 0.7417 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.5518, allocations: 88.59 kB / 0.7417 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.552, allocations: 163.9 kB / 0.7419 GB, free: 112 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.5522, allocations: 94.64 kB / 0.742 GB, free: 112 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5522, allocations: 0.7188 kB / 0.742 GB, free: 112 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005195/0.5527, allocations: 300.2 kB / 0.7423 GB, free: 112 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.5528, allocations: 451.8 kB / 0.7427 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5528, allocations: 2.219 kB / 0.7427 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5528, allocations: 2.031 kB / 0.7427 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.5532, allocations: 69.14 kB / 0.7428 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5532, allocations: 4.719 kB / 0.7428 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.5535, allocations: 39.69 kB / 0.7428 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.5535, allocations: 14.92 kB / 0.7428 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.5535, allocations: 11.55 kB / 0.7428 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00035/0.5539, allocations: 215.8 kB / 0.7431 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.5539, allocations: 1.656 kB / 0.7431 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.5539, allocations: 3.219 kB / 0.7431 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.5541, allocations: 64.42 kB / 0.7431 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.5542, allocations: 4.25 kB / 0.7431 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.5544, allocations: 32.91 kB / 0.7432 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.5544, allocations: 8.094 kB / 0.7432 GB, free: 111.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.736e-05/0.5545, allocations: 127.1 kB / 0.7433 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.5546, allocations: 39.92 kB / 0.7433 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.5547, allocations: 37.52 kB / 0.7434 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5547, allocations: 3.625 kB / 0.7434 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.5547, allocations: 0.7812 kB / 0.7434 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5547, allocations: 3 kB / 0.7434 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.5557, allocations: 0.7426 MB / 0.7441 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5557, allocations: 4.344 kB / 0.7441 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.556, allocations: 56.61 kB / 0.7441 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.556, allocations: 1.812 kB / 0.7441 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.556, allocations: 2.297 kB / 0.7442 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.556, allocations: 1.797 kB / 0.7442 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.556, allocations: 0.8125 kB / 0.7442 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.5566, allocations: 492.7 kB / 0.7446 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5568, allocations: 144 kB / 0.7448 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.5568, allocations: 6.578 kB / 0.7448 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.5571, allocations: 30.11 kB / 0.7448 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.5571, allocations: 25.48 kB / 0.7448 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.5572, allocations: 15.72 kB / 0.7448 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002027/0.5574, allocations: 211.7 kB / 0.745 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.51e-07/0.5574, allocations: 0 / 0.745 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005303/0.5579, allocations: 144.5 kB / 0.7452 GB, free: 110.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.5581, allocations: 105.9 kB / 0.7453 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000618/0.5587, allocations: 385.8 kB / 0.7456 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5587, allocations: 0 / 0.7456 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.5589, allocations: 123.8 kB / 0.7458 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.5594, allocations: 73.94 kB / 0.7458 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.5607, allocations: 0.5662 MB / 0.7464 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.561, allocations: 0.8271 MB / 0.7472 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003112/0.5613, allocations: 66.27 kB / 0.7473 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.5614, allocations: 27.23 kB / 0.7473 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/0.5614, allocations: 4.781 kB / 0.7473 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.009133/0.5706, allocations: 4.157 MB / 0.7513 GB, free: 109.5 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)