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.001406/0.001406, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001445/0.001445, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.752/1.752, allocations: 207.6 MB / 231.3 MB, free: 3.227 MB / 174.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.4203/0.4203, allocations: 55.7 MB / 339.1 MB, free: 11.97 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.002113/0.002113, allocations: 63.97 kB / 479.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1369, allocations: 62.85 MB / 0.53 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.005457/0.1424, allocations: 3.75 MB / 0.5336 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.1454, allocations: 1.423 MB / 0.535 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.1458, allocations: 31.81 kB / 0.535 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1461, allocations: 126.6 kB / 0.5352 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.1467, allocations: 202 kB / 0.5354 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1479, allocations: 0.6217 MB / 0.536 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.1491, allocations: 0.9877 MB / 0.5369 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.1495, allocations: 253.7 kB / 0.5372 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004802/0.15, allocations: 386.3 kB / 0.5375 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.1504, allocations: 362 kB / 0.5379 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.1506, allocations: 79.94 kB / 0.538 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1507, allocations: 80 kB / 0.538 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1508, allocations: 187.2 kB / 0.5382 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.1512, allocations: 381.7 kB / 0.5386 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009835/0.1522, allocations: 0.8983 MB / 0.5395 GB, free: 1.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1522, allocations: 0 / 0.5395 GB, free: 1.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1522, allocations: 4 kB / 0.5395 GB, free: 1.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1522, allocations: 0 / 0.5395 GB, free: 1.898 MB / 398.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.002115/0.1543, allocations: 1.233 MB / 0.5407 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1544, allocations: 8.031 kB / 0.5407 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1545, allocations: 100.3 kB / 0.5408 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.1557, allocations: 0.65 MB / 0.5414 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.1558, allocations: 97.28 kB / 0.5415 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.1559, allocations: 59.88 kB / 0.5416 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.157, allocations: 0.608 MB / 0.5421 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.157, allocations: 3.984 kB / 0.5422 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.1571, allocations: 20 kB / 0.5422 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1571, allocations: 16 kB / 0.5422 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.1581, allocations: 431.6 kB / 0.5426 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.161, allocations: 2.118 MB / 0.5447 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1622, allocations: 483.6 kB / 0.5451 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.1627, allocations: 218.9 kB / 0.5453 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.1627, allocations: 4 kB / 0.5453 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006485/0.1633, allocations: 278.7 kB / 0.5456 GB, free: 11.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/0.1633, allocations: 4 kB / 0.5456 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.001493/0.1648, allocations: 0.6144 MB / 0.5462 GB, free: 10.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.1649, allocations: 88.86 kB / 0.5463 GB, free: 10.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/0.1657, allocations: 0.6217 MB / 0.5469 GB, free: 9.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.1657, allocations: 38.8 kB / 0.5469 GB, free: 9.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.166, allocations: 369.3 kB / 0.5473 GB, free: 9.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.1662, allocations: 170.6 kB / 0.5475 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.1664, allocations: 90.2 kB / 0.5475 GB, free: 9.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1665, allocations: 337.9 kB / 0.5479 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.167, allocations: 179 kB / 0.548 GB, free: 8.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.1676, allocations: 280.2 kB / 0.5483 GB, free: 8.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/0.1685, allocations: 489.8 kB / 0.5488 GB, free: 7.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1685, allocations: 4 kB / 0.5488 GB, free: 7.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00132/0.1699, allocations: 0.5986 MB / 0.5494 GB, free: 7.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.1699, allocations: 41.69 kB / 0.5494 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1699, allocations: 4.25 kB / 0.5494 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.1699, allocations: 12 kB / 0.5494 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.1704, allocations: 107.9 kB / 0.5495 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1704, allocations: 7.938 kB / 0.5495 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.1709, allocations: 67.59 kB / 0.5496 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.1709, allocations: 16 kB / 0.5496 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005503/0.1715, allocations: 305.1 kB / 0.5499 GB, free: 6.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004711/0.1719, allocations: 256.3 kB / 0.5501 GB, free: 6.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007235/0.1727, allocations: 438 kB / 0.5506 GB, free: 6.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.1727, allocations: 3.938 kB / 0.5506 GB, free: 6.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009887/0.1736, allocations: 0.5557 MB / 0.5511 GB, free: 5.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.1737, allocations: 42 kB / 0.5511 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1737, allocations: 0 / 0.5511 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.1737, allocations: 8 kB / 0.5511 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.1741, allocations: 99.83 kB / 0.5512 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1741, allocations: 4 kB / 0.5512 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.1744, allocations: 51.66 kB / 0.5513 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.1745, allocations: 16 kB / 0.5513 GB, free: 5.254 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.0002433/0.1747, allocations: 216 kB / 0.5515 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1748, allocations: 83.48 kB / 0.5516 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.175, allocations: 83.33 kB / 0.5517 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.175, allocations: 4 kB / 0.5517 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.175, allocations: 0 / 0.5517 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.175, allocations: 0 / 0.5517 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.1759, allocations: 0.6336 MB / 0.5523 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1759, allocations: 0 / 0.5523 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.1763, allocations: 87.88 kB / 0.5524 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1763, allocations: 0 / 0.5524 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.1764, allocations: 12 kB / 0.5524 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1764, allocations: 3.938 kB / 0.5524 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1764, allocations: 7.938 kB / 0.5524 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.1779, allocations: 0.7368 MB / 0.5531 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.1782, allocations: 192.5 kB / 0.5533 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.1783, allocations: 12 kB / 0.5533 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.1787, allocations: 31.95 kB / 0.5534 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.1788, allocations: 31.95 kB / 0.5534 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.1788, allocations: 23.98 kB / 0.5534 GB, free: 3.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005868/0.1794, allocations: 435 kB / 0.5538 GB, free: 2.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1794, allocations: 0 / 0.5538 GB, free: 2.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006152/0.18, allocations: 227.4 kB / 0.554 GB, free: 2.367 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.0001687/0.1802, allocations: 111.1 kB / 0.5541 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.1818, allocations: 0.7425 MB / 0.5549 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1818, allocations: 0 / 0.5549 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.1824, allocations: 203.8 kB / 0.5551 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.1834, allocations: 222.9 kB / 0.5553 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.1857, allocations: 1.221 MB / 0.5565 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.1864, allocations: 0.922 MB / 0.5574 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003655/0.1867, allocations: 89.2 kB / 0.5575 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.1869, allocations: 47.44 kB / 0.5575 GB, free: 14.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1869, allocations: 0 / 0.5575 GB, free: 14.73 MB / 430.1 MB Notification: Performance of Templates: time 0.01676/0.2036, allocations: 8.156 MB / 0.5655 GB, free: 6.637 MB / 430.1 MB " [Timeout remaining time 660] 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.772450272925198]