Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2835/0.2835, allocations: 54.39 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001366/0.001366, allocations: 186.8 kB / 75.37 MB, free: 1.488 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.521/1.521, allocations: 194.2 MB / 283.2 MB, free: 3.504 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001709/0.001709, allocations: 116.2 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/9.208e-06, allocations: 8 kB / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.14, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5488, allocations: 92.44 MB / 0.542 GB, free: 4.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5491, allocations: 76.53 kB / 0.5421 GB, free: 4.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01924/0.5684, allocations: 7.227 MB / 0.5491 GB, free: 14.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.986e-05/0.5685, allocations: 8 kB / 0.5492 GB, free: 14.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009609/0.5694, allocations: 0.6458 MB / 0.5498 GB, free: 13.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5695, allocations: 15.97 kB / 0.5498 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.5696, allocations: 55.34 kB / 0.5499 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.5702, allocations: 403.3 kB / 0.5502 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.5702, allocations: 16 kB / 0.5503 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.5703, allocations: 27.98 kB / 0.5503 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004922/0.5708, allocations: 229.5 kB / 0.5505 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.5713, allocations: 337.7 kB / 0.5508 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5714, allocations: 3.938 kB / 0.5508 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.5714, allocations: 4 kB / 0.5508 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.5714, allocations: 8 kB / 0.5508 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.5732, allocations: 1.303 MB / 0.5521 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.5736, allocations: 197.9 kB / 0.5523 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.5738, allocations: 117.5 kB / 0.5524 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.5738, allocations: 7.906 kB / 0.5524 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.5741, allocations: 165.2 kB / 0.5526 GB, free: 10.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.5741, allocations: 0 / 0.5526 GB, free: 10.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004748/0.5746, allocations: 255 kB / 0.5528 GB, free: 10.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.5747, allocations: 136.5 kB / 0.5529 GB, free: 9.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.575, allocations: 274 kB / 0.5532 GB, free: 9.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.575, allocations: 33.7 kB / 0.5532 GB, free: 9.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5751, allocations: 192.9 kB / 0.5534 GB, free: 9.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/0.5752, allocations: 94.56 kB / 0.5535 GB, free: 9.305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.5752, allocations: 0 / 0.5535 GB, free: 9.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5754, allocations: 346.8 kB / 0.5538 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.5755, allocations: 88 kB / 0.5539 GB, free: 8.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.5757, allocations: 163.1 kB / 0.5541 GB, free: 8.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.5759, allocations: 93.61 kB / 0.5542 GB, free: 8.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5759, allocations: 0 / 0.5542 GB, free: 8.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004503/0.5764, allocations: 298.2 kB / 0.5545 GB, free: 8.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.5766, allocations: 457 kB / 0.5549 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5766, allocations: 0 / 0.5549 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.5767, allocations: 7.906 kB / 0.5549 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.577, allocations: 67.89 kB / 0.555 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.577, allocations: 0 / 0.555 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.5772, allocations: 39.83 kB / 0.555 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.5773, allocations: 15.98 kB / 0.555 GB, free: 7.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.5773, allocations: 7.984 kB / 0.555 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003763/0.5777, allocations: 211.9 kB / 0.5552 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.5777, allocations: 8.031 kB / 0.5552 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.5777, allocations: 0 / 0.5552 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.5779, allocations: 67.84 kB / 0.5553 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.578, allocations: 7.906 kB / 0.5553 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.5782, allocations: 31.83 kB / 0.5553 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.5782, allocations: 8 kB / 0.5553 GB, free: 7.355 MB / 394.7 MB 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 0.0001868/0.5784, allocations: 121 kB / 0.5555 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.5785, allocations: 35.53 kB / 0.5555 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.5786, allocations: 44.05 kB / 0.5555 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.5786, allocations: 4 kB / 0.5555 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.5786, allocations: 3.938 kB / 0.5555 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5786, allocations: 7.844 kB / 0.5556 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.5797, allocations: 0.7445 MB / 0.5563 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5797, allocations: 0 / 0.5563 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.58, allocations: 55.91 kB / 0.5563 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.58, allocations: 4 kB / 0.5563 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.58, allocations: 7.984 kB / 0.5563 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.58, allocations: 4 kB / 0.5564 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.58, allocations: 0 / 0.5564 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006991/0.5808, allocations: 487.4 kB / 0.5568 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.5809, allocations: 140.5 kB / 0.557 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.581, allocations: 4 kB / 0.557 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.5812, allocations: 32.03 kB / 0.557 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.5813, allocations: 19.97 kB / 0.557 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.5814, allocations: 15.89 kB / 0.557 GB, free: 5.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002105/0.5816, allocations: 212.6 kB / 0.5572 GB, free: 5.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004935/0.5821, allocations: 139.5 kB / 0.5574 GB, free: 5.215 MB / 394.7 MB 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.0001841/0.5823, allocations: 111.2 kB / 0.5575 GB, free: 5.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006708/0.5829, allocations: 387.3 kB / 0.5578 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.583, allocations: 0 / 0.5578 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.5832, allocations: 119.9 kB / 0.5579 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.5837, allocations: 77.52 kB / 0.558 GB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.585, allocations: 0.5575 MB / 0.5586 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.5856, allocations: 0.8624 MB / 0.5594 GB, free: 3.055 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5856, allocations: 0 / 0.5594 GB, free: 3.055 MB / 394.7 MB Notification: Performance of Templates: time 0.009886/0.5955, allocations: 5.367 MB / 0.5646 GB, free: 13.7 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)