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.001331/0.001331, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 194 kB / 16.53 MB, free: 6.391 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.635/1.635, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3453/0.3453, allocations: 39.94 MB / 309.7 MB, free: 9.344 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.00176/0.00176, allocations: 67.89 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.141, allocations: 56.89 MB / 434.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003814/0.1449, allocations: 1.673 MB / 436.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1464, allocations: 0.6438 MB / 436.8 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.1466, allocations: 4 kB / 436.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.579e-05/0.1467, allocations: 15.75 kB / 436.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.1468, allocations: 19.8 kB / 436.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.1474, allocations: 131.8 kB / 437 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.1477, allocations: 159.6 kB / 437.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.148, allocations: 33.38 kB / 437.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.1482, allocations: 71.75 kB / 437.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1484, allocations: 63.69 kB / 437.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.1484, allocations: 12 kB / 437.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.1485, allocations: 12 kB / 437.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/0.1485, allocations: 39.89 kB / 437.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.32e-05/0.1486, allocations: 63.66 kB / 437.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1488, allocations: 135.5 kB / 437.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1488, allocations: 0 / 437.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1489, allocations: 0 / 437.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1489, allocations: 0 / 437.5 MB, free: 0.6211 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.0009127/0.1498, allocations: 466.8 kB / 438 MB, free: 120 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.1498, allocations: 11.89 kB / 438 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.15, allocations: 20.75 kB / 438 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.1504, allocations: 220 kB / 438.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.1504, allocations: 8.375 kB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.1505, allocations: 16.11 kB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.151, allocations: 172 kB / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.151, allocations: 4 kB / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1511, allocations: 11.98 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.1511, allocations: 0 / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.1515, allocations: 123.9 kB / 438.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1526, allocations: 452.3 kB / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.1532, allocations: 198.4 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.1534, allocations: 72.8 kB / 439.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1535, allocations: 3.984 kB / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.1535, allocations: 38.56 kB / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1535, allocations: 0 / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001616/0.1551, allocations: 0.5724 MB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.1552, allocations: 114.7 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1554, allocations: 159.7 kB / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1555, allocations: 29.7 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.1555, allocations: 112 kB / 440.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.1556, allocations: 31.55 kB / 440.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.1557, allocations: 33.7 kB / 440.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1558, allocations: 322.8 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.1561, allocations: 72.8 kB / 440.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.1563, allocations: 94.5 kB / 440.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.1568, allocations: 136.7 kB / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1568, allocations: 8.031 kB / 441 MB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005118/0.1573, allocations: 177.5 kB / 441.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1573, allocations: 7.984 kB / 441.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1573, allocations: 8.031 kB / 441.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1574, allocations: 4 kB / 441.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.1576, allocations: 31.97 kB / 441.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1576, allocations: 8.359 kB / 441.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1577, allocations: 23.97 kB / 441.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1577, allocations: 4 kB / 441.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001475/0.1579, allocations: 120.1 kB / 441.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001125/0.158, allocations: 62.48 kB / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000185/0.1582, allocations: 76.75 kB / 441.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.1582, allocations: 0 / 441.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002465/0.1585, allocations: 121.4 kB / 441.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.1585, allocations: 12.03 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-06/0.1585, allocations: 0 / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.1585, allocations: 3.938 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.1586, allocations: 19.98 kB / 441.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1586, allocations: 3.984 kB / 441.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.1587, allocations: 11.98 kB / 441.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.1588, allocations: 8 kB / 441.7 MB, free: 12.16 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.0001161/0.1589, allocations: 180.3 kB / 441.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.1589, allocations: 15.91 kB / 441.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.159, allocations: 17.34 kB / 441.9 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.159, allocations: 4 kB / 441.9 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.159, allocations: 0 / 441.9 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.159, allocations: 7.922 kB / 441.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.16, allocations: 0.5146 MB / 442.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.16, allocations: 0 / 442.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1602, allocations: 35.95 kB / 442.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.1602, allocations: 8.266 kB / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1602, allocations: 8 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1602, allocations: 4.031 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1602, allocations: 3.938 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.161, allocations: 360 kB / 442.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.1611, allocations: 88.95 kB / 442.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1611, allocations: 4 kB / 442.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.1614, allocations: 40.02 kB / 443 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1615, allocations: 7.984 kB / 443 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1615, allocations: 8 kB / 443 MB, free: 10.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.435e-05/0.1616, allocations: 127.5 kB / 443.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 443.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.1619, allocations: 32 kB / 443.1 MB, free: 10.61 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.0001292/0.1621, allocations: 103.1 kB / 443.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.1627, allocations: 199.8 kB / 443.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1627, allocations: 0 / 443.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.1629, allocations: 79.94 kB / 443.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.1634, allocations: 46.27 kB / 443.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.1642, allocations: 289.1 kB / 443.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1645, allocations: 0.7085 MB / 444.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.1646, allocations: 17.34 kB / 444.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.1647, allocations: 19.42 kB / 444.6 MB, free: 9.105 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1647, allocations: 4 kB / 444.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of Templates: time 0.005601/0.1703, allocations: 2.265 MB / 446.8 MB, free: 6.844 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)