Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Annex60.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") [: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.3351/0.3351, allocations: 54.39 MB / 61.67 MB, free: 11.18 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.001291/0.001291, allocations: 187.2 kB / 75.37 MB, free: 1.531 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.567/1.567, allocations: 194.2 MB / 283.2 MB, free: 3.488 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.001715/0.001715, allocations: 107.6 kB / 341.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.124e-06/7.143e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 57.64 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.4898, allocations: 91.48 MB / 0.5411 GB, free: 5.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4901, allocations: 83.58 kB / 0.5412 GB, free: 5.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.03389/0.524, allocations: 12.27 MB / 0.5531 GB, free: 10.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.021e-05/0.5241, allocations: 16 kB / 0.5532 GB, free: 9.996 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001529/0.5256, allocations: 0.8893 MB / 0.554 GB, free: 9.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5257, allocations: 11.97 kB / 0.554 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.5258, allocations: 86.97 kB / 0.5541 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.5267, allocations: 0.5329 MB / 0.5546 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.5267, allocations: 16 kB / 0.5547 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.5268, allocations: 36 kB / 0.5547 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007752/0.5276, allocations: 390.6 kB / 0.5551 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.5285, allocations: 0.5247 MB / 0.5556 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.5286, allocations: 7.906 kB / 0.5556 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.5286, allocations: 0 / 0.5556 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.5287, allocations: 16 kB / 0.5556 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.5318, allocations: 1.999 MB / 0.5575 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.5324, allocations: 322.4 kB / 0.5579 GB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.5327, allocations: 214.5 kB / 0.5581 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.5328, allocations: 4.438 kB / 0.5581 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.5332, allocations: 232.5 kB / 0.5583 GB, free: 4.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 1.914e-06/0.5332, allocations: 0 / 0.5583 GB, free: 4.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.0007276/0.5339, allocations: 398.5 kB / 0.5587 GB, free: 4.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.534, allocations: 166.7 kB / 0.5588 GB, free: 3.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.5345, allocations: 341.2 kB / 0.5591 GB, free: 3.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.5345, allocations: 29.64 kB / 0.5592 GB, free: 3.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.5347, allocations: 261 kB / 0.5594 GB, free: 3.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.5349, allocations: 161.6 kB / 0.5596 GB, free: 3.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.5349, allocations: 0 / 0.5596 GB, free: 3.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5351, allocations: 362.8 kB / 0.5599 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.5354, allocations: 145.3 kB / 0.5601 GB, free: 2.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.5357, allocations: 251.2 kB / 0.5603 GB, free: 2.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.536, allocations: 177.4 kB / 0.5605 GB, free: 2.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.536, allocations: 0 / 0.5605 GB, free: 2.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007432/0.5367, allocations: 471.7 kB / 0.5609 GB, free: 1.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.537, allocations: 0.6104 MB / 0.5615 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.537, allocations: 0 / 0.5615 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.5371, allocations: 4 kB / 0.5615 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.5376, allocations: 131.8 kB / 0.5616 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.5376, allocations: 7.984 kB / 0.5617 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.5381, allocations: 75.55 kB / 0.5617 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.5381, allocations: 16 kB / 0.5617 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5382, allocations: 6.188 kB / 0.5617 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006353/0.5388, allocations: 370.9 kB / 0.5621 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.5388, allocations: 0 / 0.5621 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.5388, allocations: 4 kB / 0.5621 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.5393, allocations: 111.8 kB / 0.5622 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5393, allocations: 11.92 kB / 0.5622 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.5396, allocations: 55.75 kB / 0.5623 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.5397, allocations: 16 kB / 0.5623 GB, free: 284 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.0001489/0.5398, allocations: 124.8 kB / 0.5624 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.5399, allocations: 55.34 kB / 0.5625 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.5401, allocations: 57.19 kB / 0.5625 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.5401, allocations: 4 kB / 0.5625 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5401, allocations: 0 / 0.5625 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5401, allocations: 0 / 0.5625 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5418, allocations: 1.103 MB / 0.5636 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5418, allocations: 7.938 kB / 0.5636 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.5423, allocations: 111.9 kB / 0.5637 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5424, allocations: 0 / 0.5637 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.5424, allocations: 12 kB / 0.5637 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5424, allocations: 0 / 0.5637 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5424, allocations: 0 / 0.5637 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001051/0.5435, allocations: 0.7127 MB / 0.5644 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.5437, allocations: 180.3 kB / 0.5646 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.5438, allocations: 4.125 kB / 0.5646 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.5442, allocations: 59.95 kB / 0.5647 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.5443, allocations: 32.33 kB / 0.5647 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.5444, allocations: 19.89 kB / 0.5647 GB, free: 13.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003388/0.5447, allocations: 263.2 kB / 0.565 GB, free: 13.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007418/0.5455, allocations: 243 kB / 0.5652 GB, free: 13.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002134/0.5457, allocations: 111.1 kB / 0.5653 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.5468, allocations: 0.6639 MB / 0.5659 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5468, allocations: 0 / 0.5659 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.5472, allocations: 205.5 kB / 0.5661 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.5478, allocations: 126.2 kB / 0.5663 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.5509, allocations: 1.273 MB / 0.5675 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/0.5517, allocations: 0.9453 MB / 0.5684 GB, free: 9.828 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5517, allocations: 0 / 0.5684 GB, free: 9.828 MB / 410.7 MB Notification: Performance of Templates: time 0.01662/0.5683, allocations: 8.975 MB / 0.5772 GB, free: 0.8672 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)