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.001312/0.001313, 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.001782/0.001783, allocations: 189.5 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.72/1.72, allocations: 205.1 MB / 222 MB, free: 4.75 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.4564/0.4564, allocations: 39.94 MB / 309.3 MB, free: 9.656 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.001411/0.001411, allocations: 70.39 kB / 376.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1546, allocations: 56.89 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005839/0.1606, allocations: 3.39 MB / 437.2 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004021/0.1646, allocations: 1.575 MB / 438.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.1652, allocations: 19.88 kB / 438.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.1658, allocations: 107.2 kB / 438.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.1663, allocations: 166.9 kB / 439.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1675, allocations: 491.3 kB / 439.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009742/0.1685, allocations: 0.9041 MB / 440.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.1689, allocations: 226.4 kB / 440.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.1694, allocations: 322.5 kB / 441 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.17, allocations: 394 kB / 441.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.1701, allocations: 35.94 kB / 441.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.1703, allocations: 143.7 kB / 441.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.1705, allocations: 171.2 kB / 441.7 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.1708, allocations: 313.9 kB / 442 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007439/0.1716, allocations: 0.8408 MB / 442.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1716, allocations: 0 / 442.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1716, allocations: 4 kB / 442.9 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1716, allocations: 0 / 442.9 MB, free: 11.31 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.002444/0.1741, allocations: 1.172 MB / 444 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1741, allocations: 8.031 kB / 444 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1743, allocations: 91.91 kB / 444.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.1752, allocations: 0.5545 MB / 444.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.1753, allocations: 41.38 kB / 444.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1754, allocations: 72.02 kB / 444.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.1766, allocations: 0.6017 MB / 445.4 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.1766, allocations: 7.938 kB / 445.4 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.1767, allocations: 20 kB / 445.4 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1767, allocations: 16 kB / 445.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.1777, allocations: 457.8 kB / 445.9 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.1814, allocations: 2.659 MB / 448.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/0.1824, allocations: 0.5117 MB / 449.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.1829, allocations: 262.8 kB / 449.3 MB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/0.183, allocations: 8.234 kB / 449.3 MB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.183, allocations: 38.8 kB / 449.4 MB, free: 4.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 1.963e-06/0.183, allocations: 0 / 449.4 MB, free: 4.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002514/0.1855, allocations: 1.149 MB / 450.5 MB, free: 3.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.1857, allocations: 132.5 kB / 450.6 MB, free: 3.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.1865, allocations: 0.6567 MB / 451.3 MB, free: 2.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.1866, allocations: 37.69 kB / 451.3 MB, free: 2.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.1869, allocations: 364.7 kB / 451.7 MB, free: 2.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.187, allocations: 181.4 kB / 451.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.1872, allocations: 118.2 kB / 452 MB, free: 1.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1873, allocations: 337.9 kB / 452.3 MB, free: 1.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.188, allocations: 279.3 kB / 452.6 MB, free: 1.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/0.1887, allocations: 448.2 kB / 453 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2526/0.4414, allocations: 0.7084 MB / 453.7 MB, free: 51.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.4414, allocations: 5.781 kB / 453.7 MB, free: 51.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001959/0.4434, allocations: 0.8137 MB / 454.5 MB, free: 51.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.4434, allocations: 9.844 kB / 454.6 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4435, allocations: 5.375 kB / 454.6 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.4435, allocations: 5.75 kB / 454.6 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.4444, allocations: 198.7 kB / 454.8 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.4444, allocations: 16.95 kB / 454.8 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.4449, allocations: 80.22 kB / 454.9 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.445, allocations: 28.28 kB / 454.9 MB, free: 51.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008203/0.4458, allocations: 424.2 kB / 455.3 MB, free: 51.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005895/0.4464, allocations: 426.3 kB / 455.7 MB, free: 50.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001056/0.4475, allocations: 0.7025 MB / 456.4 MB, free: 50.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.4475, allocations: 3.344 kB / 456.4 MB, free: 50.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001365/0.4489, allocations: 0.7964 MB / 457.2 MB, free: 50.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4489, allocations: 13.52 kB / 457.2 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4489, allocations: 6.719 kB / 457.2 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.4489, allocations: 8.094 kB / 457.2 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.4497, allocations: 187.2 kB / 457.4 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4497, allocations: 13.25 kB / 457.4 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.4502, allocations: 70.05 kB / 457.5 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.4502, allocations: 29.16 kB / 457.5 MB, free: 50.73 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.0001735/0.4504, allocations: 221.8 kB / 457.8 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.4506, allocations: 79.47 kB / 457.8 MB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.4508, allocations: 89.66 kB / 457.9 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4508, allocations: 6.344 kB / 457.9 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4508, allocations: 0 / 457.9 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4508, allocations: 10.75 kB / 457.9 MB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.4525, allocations: 1.257 MB / 459.2 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4526, allocations: 0 / 459.2 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.4532, allocations: 109.6 kB / 459.3 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4532, allocations: 7.031 kB / 459.3 MB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.4532, allocations: 14.44 kB / 459.3 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4532, allocations: 3.25 kB / 459.3 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4532, allocations: 7.312 kB / 459.3 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.4551, allocations: 1.16 MB / 460.5 MB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.4553, allocations: 205.5 kB / 460.7 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-05/0.4554, allocations: 14.56 kB / 460.7 MB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.4559, allocations: 49.17 kB / 460.8 MB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.456, allocations: 41.98 kB / 460.8 MB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.456, allocations: 19.19 kB / 460.8 MB, free: 49.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005534/0.4566, allocations: 464.7 kB / 461.3 MB, free: 49.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4566, allocations: 0 / 461.3 MB, free: 49.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008437/0.4575, allocations: 225.8 kB / 461.5 MB, free: 49.04 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.0003501/0.4578, allocations: 137.9 kB / 461.6 MB, free: 48.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.4598, allocations: 0.9953 MB / 462.6 MB, free: 48.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4598, allocations: 4.062 kB / 462.6 MB, free: 48.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.4605, allocations: 292.6 kB / 462.9 MB, free: 48.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4615, allocations: 185.4 kB / 463.1 MB, free: 48.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.4641, allocations: 1.748 MB / 464.8 MB, free: 47.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.4645, allocations: 0.9506 MB / 465.8 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005324/0.465, allocations: 151.2 kB / 465.9 MB, free: 46.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.4652, allocations: 45.94 kB / 466 MB, free: 46.78 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4652, allocations: 0 / 466 MB, free: 46.78 MB / 382.1 MB Notification: Performance of Templates: time 0.01373/0.479, allocations: 7.779 MB / 473.8 MB, free: 46.29 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)