Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.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.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001258/0.001258, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.6/1.6, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3746/0.3746, allocations: 39.94 MB / 309.4 MB, free: 9.059 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.001351/0.001351, allocations: 70.41 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1464, allocations: 56.88 MB / 434 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005129/0.1515, allocations: 3.406 MB / 437.4 MB, free: 324 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003647/0.1552, allocations: 1.571 MB / 439 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/0.156, allocations: 19.88 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.1567, allocations: 115.2 kB / 439.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.1573, allocations: 159 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1586, allocations: 491.3 kB / 439.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.1597, allocations: 0.9627 MB / 440.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.1601, allocations: 238.4 kB / 440.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004374/0.1606, allocations: 366.5 kB / 441.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.1611, allocations: 418 kB / 441.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1612, allocations: 64 kB / 441.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.1615, allocations: 179.7 kB / 441.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.1617, allocations: 191.3 kB / 442.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.1621, allocations: 353.8 kB / 442.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.1631, allocations: 0.8721 MB / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1631, allocations: 3.938 kB / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1631, allocations: 0 / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1631, allocations: 0 / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002274/0.1654, allocations: 1.172 MB / 444.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1655, allocations: 15.89 kB / 444.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.1656, allocations: 95.89 kB / 444.6 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008876/0.1665, allocations: 0.5622 MB / 445.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.1666, allocations: 37.38 kB / 445.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1667, allocations: 68.02 kB / 445.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1678, allocations: 0.6017 MB / 445.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.1678, allocations: 11.92 kB / 445.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.1679, allocations: 20 kB / 445.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1679, allocations: 12 kB / 445.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.1689, allocations: 457.8 kB / 446.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.1723, allocations: 2.655 MB / 449 MB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.1733, allocations: 0.5076 MB / 449.5 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.1738, allocations: 266.9 kB / 449.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.468e-05/0.1739, allocations: 4.234 kB / 449.8 MB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1739, allocations: 42.73 kB / 449.8 MB, free: 3.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.625e-06/0.1739, allocations: 4 kB / 449.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002406/0.1764, allocations: 1.13 MB / 451 MB, free: 2.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1765, allocations: 144.4 kB / 451.1 MB, free: 2.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008669/0.1773, allocations: 0.6567 MB / 451.8 MB, free: 1.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.1774, allocations: 33.7 kB / 451.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.1777, allocations: 368.7 kB / 452.2 MB, free: 1.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1779, allocations: 181.4 kB / 452.3 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.1781, allocations: 118.2 kB / 452.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1782, allocations: 333.9 kB / 452.8 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006258/0.1789, allocations: 287.2 kB / 453.1 MB, free: 240 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2977/0.4765, allocations: 436.8 kB / 453.5 MB, free: 51.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.478, allocations: 0.7156 MB / 454.2 MB, free: 51.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.478, allocations: 2.969 kB / 454.2 MB, free: 51.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001619/0.4797, allocations: 0.8242 MB / 455 MB, free: 50.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4797, allocations: 5.719 kB / 455 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4797, allocations: 5.688 kB / 455 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.4798, allocations: 5.781 kB / 455.1 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/0.4806, allocations: 198.2 kB / 455.2 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4807, allocations: 14.55 kB / 455.3 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.4812, allocations: 83.64 kB / 455.3 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.4812, allocations: 26.75 kB / 455.4 MB, free: 50.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007283/0.482, allocations: 425.4 kB / 455.8 MB, free: 50.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005313/0.4825, allocations: 420.1 kB / 456.2 MB, free: 50.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/0.4835, allocations: 0.6944 MB / 456.9 MB, free: 50.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.4836, allocations: 3.219 kB / 456.9 MB, free: 50.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001279/0.4848, allocations: 0.8019 MB / 457.7 MB, free: 50.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4849, allocations: 9.031 kB / 457.7 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4849, allocations: 3.094 kB / 457.7 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.4849, allocations: 11.91 kB / 457.7 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.4856, allocations: 194.2 kB / 457.9 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4856, allocations: 10.41 kB / 457.9 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.4861, allocations: 76.7 kB / 458 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.4862, allocations: 27.38 kB / 458 MB, free: 50.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0001819/0.4864, allocations: 217.2 kB / 458.2 MB, free: 50.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4865, allocations: 76.08 kB / 458.3 MB, free: 50.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.4867, allocations: 89.86 kB / 458.4 MB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.4867, allocations: 10.84 kB / 458.4 MB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4867, allocations: 0 / 458.4 MB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4868, allocations: 6.438 kB / 458.4 MB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.4884, allocations: 1.267 MB / 459.7 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4884, allocations: 1.781 kB / 459.7 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.489, allocations: 105 kB / 459.8 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.489, allocations: 6.312 kB / 459.8 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.4891, allocations: 17.83 kB / 459.8 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.4891, allocations: 12.86 kB / 459.8 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4891, allocations: 3.406 kB / 459.8 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.4909, allocations: 1.163 MB / 461 MB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.4911, allocations: 195.9 kB / 461.2 MB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.4912, allocations: 17.88 kB / 461.2 MB, free: 48.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.4917, allocations: 43.31 kB / 461.2 MB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4918, allocations: 50.69 kB / 461.3 MB, free: 48.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.4919, allocations: 14.97 kB / 461.3 MB, free: 48.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005807/0.4924, allocations: 456.4 kB / 461.7 MB, free: 48.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4925, allocations: 3.188 kB / 461.7 MB, free: 48.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009131/0.4934, allocations: 222 kB / 462 MB, free: 48.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (46): * Single equations (assignments): 46 * 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.0003686/0.4937, allocations: 143.8 kB / 462.1 MB, free: 48.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.4957, allocations: 1.025 MB / 463.1 MB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4957, allocations: 0 / 463.1 MB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.4963, allocations: 294.8 kB / 463.4 MB, free: 48.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.4974, allocations: 198.7 kB / 463.6 MB, free: 48.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.4998, allocations: 1.754 MB / 465.4 MB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.5002, allocations: 0.9582 MB / 466.3 MB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004758/0.5007, allocations: 141.2 kB / 466.5 MB, free: 46.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.5009, allocations: 54.23 kB / 466.5 MB, free: 46.39 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5009, allocations: 0 / 466.5 MB, free: 46.39 MB / 382.1 MB Notification: Performance of Templates: time 0.0134/0.5143, allocations: 8.144 MB / 474.7 MB, free: 45.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)