Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 108.9 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 198.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3074/0.3074, allocations: 54.95 MB / 331.6 MB, free: 2.746 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 75.42 kB / 464.9 MB, free: 380 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1471, allocations: 59.59 MB / 0.5122 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.006347/0.1535, allocations: 3.715 MB / 0.5158 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.1581, allocations: 1.419 MB / 0.5172 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007646/0.159, allocations: 31.81 kB / 0.5172 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.1594, allocations: 126.6 kB / 0.5174 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006451/0.1601, allocations: 178.5 kB / 0.5175 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.1616, allocations: 0.6096 MB / 0.5181 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.1629, allocations: 1.003 MB / 0.5191 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.1637, allocations: 353.6 kB / 0.5194 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005576/0.1643, allocations: 370.4 kB / 0.5198 GB, free: 13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.1648, allocations: 358 kB / 0.5201 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1649, allocations: 80 kB / 0.5202 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1651, allocations: 80 kB / 0.5203 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.1653, allocations: 187.2 kB / 0.5205 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.1657, allocations: 385.7 kB / 0.5208 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1668, allocations: 0.8983 MB / 0.5217 GB, free: 11.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1668, allocations: 0 / 0.5217 GB, free: 11.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1669, allocations: 4 kB / 0.5217 GB, free: 11.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1669, allocations: 0 / 0.5217 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002366/0.1692, allocations: 1.218 MB / 0.5229 GB, free: 9.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1693, allocations: 12.03 kB / 0.5229 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.1695, allocations: 104.3 kB / 0.523 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.1708, allocations: 0.6461 MB / 0.5236 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.1709, allocations: 97.27 kB / 0.5237 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.171, allocations: 59.94 kB / 0.5238 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.1722, allocations: 0.6041 MB / 0.5244 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.1723, allocations: 11.94 kB / 0.5244 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.1723, allocations: 20 kB / 0.5244 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.1724, allocations: 12 kB / 0.5244 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1734, allocations: 435.6 kB / 0.5248 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.1764, allocations: 2.126 MB / 0.5269 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.1777, allocations: 0.4888 MB / 0.5274 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.1781, allocations: 216.7 kB / 0.5276 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/0.1782, allocations: 11.98 kB / 0.5276 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006838/0.1789, allocations: 282.7 kB / 0.5279 GB, free: 4.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.906e-06/0.1789, allocations: 4 kB / 0.5279 GB, free: 4.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.001531/0.1804, allocations: 0.6144 MB / 0.5285 GB, free: 3.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.1805, allocations: 84.86 kB / 0.5286 GB, free: 3.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.1813, allocations: 0.6295 MB / 0.5292 GB, free: 3.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.1813, allocations: 29.7 kB / 0.5292 GB, free: 3.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.1817, allocations: 377.3 kB / 0.5296 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.1819, allocations: 158.6 kB / 0.5297 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.182, allocations: 102.2 kB / 0.5298 GB, free: 2.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1822, allocations: 329.9 kB / 0.5301 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/0.1827, allocations: 191 kB / 0.5303 GB, free: 1.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.1832, allocations: 281.3 kB / 0.5306 GB, free: 1.574 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/0.1842, allocations: 477.9 kB / 0.531 GB, free: 1.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1842, allocations: 7.938 kB / 0.531 GB, free: 1.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001288/0.1855, allocations: 0.6067 MB / 0.5316 GB, free: 448 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.1856, allocations: 37.69 kB / 0.5317 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1856, allocations: 4 kB / 0.5317 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.1856, allocations: 4 kB / 0.5317 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.1861, allocations: 107.8 kB / 0.5318 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.1861, allocations: 11.98 kB / 0.5318 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.1865, allocations: 63.59 kB / 0.5319 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.1866, allocations: 23.94 kB / 0.5319 GB, free: 188 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3112/0.4978, allocations: 303.3 kB / 0.5322 GB, free: 25.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005072/0.4984, allocations: 251 kB / 0.5324 GB, free: 25.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007262/0.4991, allocations: 440.2 kB / 0.5328 GB, free: 25.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.4991, allocations: 1.062 kB / 0.5328 GB, free: 25.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001144/0.5003, allocations: 0.5653 MB / 0.5334 GB, free: 25.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.5003, allocations: 34 kB / 0.5334 GB, free: 25.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5003, allocations: 3.188 kB / 0.5334 GB, free: 25.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5003, allocations: 4.844 kB / 0.5334 GB, free: 25.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.5008, allocations: 101.1 kB / 0.5335 GB, free: 25.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.5008, allocations: 8.219 kB / 0.5335 GB, free: 25.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.5011, allocations: 49.08 kB / 0.5336 GB, free: 25.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.5012, allocations: 17.53 kB / 0.5336 GB, free: 25.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002093/0.5014, allocations: 212.8 kB / 0.5338 GB, free: 25.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.5015, allocations: 83.77 kB / 0.5339 GB, free: 25.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.5017, allocations: 81.06 kB / 0.534 GB, free: 25.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5018, allocations: 4.969 kB / 0.534 GB, free: 25.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.5018, allocations: 0 / 0.534 GB, free: 25.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.5018, allocations: 3.781 kB / 0.534 GB, free: 25.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.5026, allocations: 0.6273 MB / 0.5346 GB, free: 24.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5026, allocations: 0 / 0.5346 GB, free: 24.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.503, allocations: 82.86 kB / 0.5347 GB, free: 24.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.503, allocations: 2.438 kB / 0.5347 GB, free: 24.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.5031, allocations: 13.31 kB / 0.5347 GB, free: 24.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5031, allocations: 1.25 kB / 0.5347 GB, free: 24.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5031, allocations: 4.094 kB / 0.5347 GB, free: 24.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.5047, allocations: 0.7394 MB / 0.5354 GB, free: 24.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.5049, allocations: 194.4 kB / 0.5356 GB, free: 24.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.505, allocations: 8.25 kB / 0.5356 GB, free: 24.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.5054, allocations: 35.47 kB / 0.5356 GB, free: 24.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5055, allocations: 33.59 kB / 0.5357 GB, free: 24.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.5055, allocations: 19.08 kB / 0.5357 GB, free: 24.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005623/0.5061, allocations: 436.2 kB / 0.5361 GB, free: 24.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5061, allocations: 5.172 kB / 0.5361 GB, free: 24.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007572/0.5069, allocations: 222.8 kB / 0.5363 GB, free: 24.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.507, allocations: 113.7 kB / 0.5364 GB, free: 24.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.5087, allocations: 0.7819 MB / 0.5372 GB, free: 23.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5087, allocations: 0 / 0.5372 GB, free: 23.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.5091, allocations: 211.7 kB / 0.5374 GB, free: 23.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.5101, allocations: 209.7 kB / 0.5376 GB, free: 23.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.5123, allocations: 1.225 MB / 0.5388 GB, free: 23.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.5128, allocations: 0.9211 MB / 0.5397 GB, free: 22.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004011/0.5132, allocations: 95.34 kB / 0.5398 GB, free: 22.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.5134, allocations: 52.72 kB / 0.5398 GB, free: 22.42 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5134, allocations: 0 / 0.5398 GB, free: 22.42 MB / 414.1 MB Notification: Performance of Templates: time 0.02379/0.5372, allocations: 7.984 MB / 0.5476 GB, free: 21.95 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.937548458576202]