Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 100 kB / 15.05 MB, free: 1.105 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.00132/0.00132, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.388/0.388, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.1. 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.0006882/0.0006886, allocations: 19.97 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1488, allocations: 57.51 MB / 433.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002114/0.151, allocations: 1.348 MB / 435.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1522, allocations: 0.5741 MB / 435.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1524, allocations: 11.94 kB / 435.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.1524, allocations: 3.938 kB / 435.9 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.1526, allocations: 15.97 kB / 435.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.1529, allocations: 107.7 kB / 436 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1531, allocations: 87.83 kB / 436.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1533, allocations: 33.36 kB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1534, allocations: 59.7 kB / 436.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1535, allocations: 51.75 kB / 436.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.1536, allocations: 8 kB / 436.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.1536, allocations: 4 kB / 436.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.1536, allocations: 27.91 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1537, allocations: 37.64 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.1538, allocations: 83.77 kB / 436.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1538, allocations: 0 / 436.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1538, allocations: 4 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1538, allocations: 4 kB / 436.4 MB, free: 3.121 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.0007012/0.1545, allocations: 446.8 kB / 436.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1546, allocations: 8.031 kB / 436.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.1547, allocations: 15.86 kB / 436.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.155, allocations: 226.6 kB / 437 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.155, allocations: 8 kB / 437.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1551, allocations: 4 kB / 437.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.1555, allocations: 192.1 kB / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1555, allocations: 0 / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1555, allocations: 0 / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1556, allocations: 8 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.156, allocations: 155.9 kB / 437.4 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/0.1569, allocations: 480.1 kB / 437.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.1575, allocations: 242.5 kB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1575, allocations: 0 / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.1576, allocations: 38.5 kB / 438.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.1576, allocations: 3.938 kB / 438.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001595/0.1592, allocations: 0.6617 MB / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.1593, allocations: 102.8 kB / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1594, allocations: 171.1 kB / 439.1 MB, free: 148 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1595, allocations: 25.7 kB / 439.1 MB, free: 116 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.1596, allocations: 108.3 kB / 439.2 MB, free: 4 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.1596, allocations: 31.64 kB / 439.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.1596, allocations: 8 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1598, allocations: 318.8 kB / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.16, allocations: 91.92 kB / 439.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.1603, allocations: 110.4 kB / 439.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1605, allocations: 83.97 kB / 439.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1605, allocations: 0 / 439.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005257/0.1611, allocations: 229.3 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/0.1612, allocations: 89 kB / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1612, allocations: 0 / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1612, allocations: 4 kB / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1614, allocations: 51.95 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1614, allocations: 384 / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.1616, allocations: 31.97 kB / 440.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1616, allocations: 4 kB / 440.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.1616, allocations: 8 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000231/0.1619, allocations: 95.83 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.1619, allocations: 0 / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.1619, allocations: 3.953 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/0.162, allocations: 31.92 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.162, allocations: 0 / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.1621, allocations: 15.98 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.1621, allocations: 0 / 440.4 MB, free: 14.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1622, allocations: 198.2 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.1623, allocations: 7.906 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.1624, allocations: 29.34 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1624, allocations: 4 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1624, allocations: 0 / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1624, allocations: 0 / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/0.1633, allocations: 0.5537 MB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1633, allocations: 3.953 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.1635, allocations: 51.98 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1635, allocations: 4 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1636, allocations: 0 / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1636, allocations: 3.938 kB / 441.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1636, allocations: 4 kB / 441.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008903/0.1645, allocations: 429.7 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.1645, allocations: 88.95 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1646, allocations: 0 / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1648, allocations: 52.02 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.1648, allocations: 4 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1649, allocations: 7.984 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.165, allocations: 123.2 kB / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.165, allocations: 4 kB / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.1653, allocations: 32.19 kB / 442 MB, free: 13.1 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 (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.0001398/0.1654, allocations: 103.2 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.1661, allocations: 235.7 kB / 442.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1661, allocations: 3.938 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.1664, allocations: 92 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1667, allocations: 35.92 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/0.1675, allocations: 344.6 kB / 442.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.1679, allocations: 0.7126 MB / 443.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.598e-05/0.168, allocations: 21.66 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.1681, allocations: 19.42 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1681, allocations: 0 / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Templates: time 0.00554/0.1736, allocations: 1.897 MB / 445.4 MB, free: 9.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1) Environment - environmentSimulation: