Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 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(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 191.3 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3903/0.3903, allocations: 39.94 MB / 309.3 MB, free: 9.676 MB / 254.1 MB 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: ModelicaTest 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.001508/0.001508, allocations: 70.41 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1502, allocations: 56.89 MB / 433.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003601/0.1538, allocations: 1.726 MB / 435.5 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1555, allocations: 0.64 MB / 436.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1557, allocations: 4 kB / 436.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.1558, allocations: 11.86 kB / 436.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1559, allocations: 15.88 kB / 436.2 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.1566, allocations: 131.8 kB / 436.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.1568, allocations: 143.6 kB / 436.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.157, allocations: 29.38 kB / 436.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1572, allocations: 63.83 kB / 436.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1574, allocations: 63.67 kB / 436.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.1574, allocations: 8 kB / 436.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.232e-05/0.1575, allocations: 12 kB / 436.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.1575, allocations: 31.84 kB / 436.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1576, allocations: 59.64 kB / 436.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1578, allocations: 127.5 kB / 436.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1579, allocations: 0 / 436.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1579, allocations: 0 / 436.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1579, allocations: 0 / 436.9 MB, free: 1.34 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007983/0.1587, allocations: 466.9 kB / 437.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1587, allocations: 8.031 kB / 437.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.1588, allocations: 16.75 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1591, allocations: 228 kB / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1591, allocations: 4.375 kB / 437.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.1592, allocations: 12.12 kB / 437.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.1596, allocations: 175.7 kB / 437.7 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1596, allocations: 0 / 437.7 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.1596, allocations: 8 kB / 437.8 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1597, allocations: 3.938 kB / 437.8 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.16, allocations: 127.9 kB / 437.9 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.1608, allocations: 452.3 kB / 438.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.1615, allocations: 198.5 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.1617, allocations: 72.78 kB / 438.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1617, allocations: 4 kB / 438.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/0.1618, allocations: 34.56 kB / 438.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1618, allocations: 7.938 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001306/0.1631, allocations: 0.5681 MB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.1632, allocations: 114.7 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1633, allocations: 170.2 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1634, allocations: 25.7 kB / 439.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.1634, allocations: 112 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1635, allocations: 31.55 kB / 439.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.1635, allocations: 25.72 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1637, allocations: 326.8 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.1639, allocations: 76.73 kB / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.1641, allocations: 90.52 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.1645, allocations: 140.8 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1645, allocations: 0 / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000446/0.165, allocations: 189.4 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.165, allocations: 4 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.165, allocations: 3.938 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.165, allocations: 0 / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.1652, allocations: 36.33 kB / 440.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1652, allocations: 4 kB / 440.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.1654, allocations: 31.91 kB / 440.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.1654, allocations: 4 kB / 440.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000139/0.1656, allocations: 120.6 kB / 440.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001073/0.1657, allocations: 58.53 kB / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001689/0.1658, allocations: 72.83 kB / 440.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.1659, allocations: 4.031 kB / 440.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002246/0.1661, allocations: 121.4 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.1661, allocations: 8 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.1661, allocations: 3.984 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.1661, allocations: 3.938 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.1662, allocations: 23.92 kB / 441 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-06/0.1662, allocations: 0 / 441 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.1663, allocations: 19.98 kB / 441 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1663, allocations: 4 kB / 441 MB, free: 12.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001218/0.1665, allocations: 184.3 kB / 441.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.1665, allocations: 7.906 kB / 441.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.1666, allocations: 21.33 kB / 441.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1666, allocations: 0 / 441.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1666, allocations: 4 kB / 441.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1666, allocations: 3.938 kB / 441.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/0.1675, allocations: 0.5146 MB / 441.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1675, allocations: 0 / 441.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1677, allocations: 36.28 kB / 441.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1677, allocations: 0 / 441.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1677, allocations: 11.94 kB / 441.8 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1678, allocations: 7.938 kB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1678, allocations: 0 / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.1684, allocations: 360 kB / 442.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.1685, allocations: 88.95 kB / 442.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.1685, allocations: 4.062 kB / 442.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.1688, allocations: 43.94 kB / 442.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.1688, allocations: 4 kB / 442.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1689, allocations: 11.98 kB / 442.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.169, allocations: 124.2 kB / 442.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.169, allocations: 0 / 442.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1693, allocations: 36 kB / 442.4 MB, free: 11.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001271/0.1694, allocations: 99.19 kB / 442.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.1699, allocations: 195.7 kB / 442.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.17, allocations: 4 kB / 442.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.1702, allocations: 71.94 kB / 442.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.1706, allocations: 39.56 kB / 442.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.1713, allocations: 335 kB / 443.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1715, allocations: 0.7088 MB / 443.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.52e-05/0.1717, allocations: 20.86 kB / 443.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.1717, allocations: 19.44 kB / 443.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1717, allocations: 0 / 443.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of Templates: time 0.004697/0.1764, allocations: 2.097 MB / 446 MB, free: 7.707 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe 2>&1)