Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001022, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001008/0.001008, allocations: 168.7 kB / 15.95 MB, free: 204 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.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 10.66 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3499, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00346/0.3534, allocations: 2.552 MB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.3557, allocations: 1.047 MB / 330.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.356, allocations: 12.59 kB / 330.1 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.3565, allocations: 138.8 kB / 330.2 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005222/0.3571, allocations: 156.2 kB / 330.4 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.3575, allocations: 121.9 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006308/0.3582, allocations: 393.7 kB / 330.9 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.3584, allocations: 79.53 kB / 331 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.3587, allocations: 152.8 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.359, allocations: 170.8 kB / 331.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.3591, allocations: 18.19 kB / 331.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.3592, allocations: 55.52 kB / 331.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3594, allocations: 67.75 kB / 331.4 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3595, allocations: 95.83 kB / 331.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.3599, allocations: 333.5 kB / 331.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.36, allocations: 3.938 kB / 331.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.36, allocations: 3.938 kB / 331.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.36, allocations: 0.9688 kB / 331.8 MB, free: 13.41 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001126/0.3611, allocations: 0.6284 MB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3612, allocations: 9.5 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3613, allocations: 45.8 kB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.3618, allocations: 303.1 kB / 332.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.3618, allocations: 17.66 kB / 332.8 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.3619, allocations: 25.59 kB / 332.9 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.3624, allocations: 294.9 kB / 333.1 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.3624, allocations: 7.906 kB / 333.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.3625, allocations: 11.62 kB / 333.2 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3625, allocations: 6.094 kB / 333.2 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.3629, allocations: 170.7 kB / 333.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.3644, allocations: 0.8592 MB / 334.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.365, allocations: 256.2 kB / 334.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.3652, allocations: 105.4 kB / 334.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.3652, allocations: 8.281 kB / 334.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.3656, allocations: 160.9 kB / 334.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.3656, allocations: 0 / 334.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.00237/0.368, allocations: 1.317 MB / 336 MB, free: 9.598 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.3681, allocations: 187.9 kB / 336.2 MB, free: 9.371 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.3686, allocations: 356.5 kB / 336.6 MB, free: 9.012 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.3686, allocations: 33.7 kB / 336.6 MB, free: 8.973 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.3688, allocations: 184.6 kB / 336.8 MB, free: 8.789 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.3689, allocations: 138 kB / 336.9 MB, free: 8.652 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.3689, allocations: 8 kB / 336.9 MB, free: 8.645 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3691, allocations: 354.8 kB / 337.3 MB, free: 8.289 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.3693, allocations: 80.84 kB / 337.3 MB, free: 8.211 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.3696, allocations: 177.3 kB / 337.5 MB, free: 8 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3698, allocations: 113.8 kB / 337.6 MB, free: 7.891 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3698, allocations: 3.953 kB / 337.6 MB, free: 7.887 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005607/0.3704, allocations: 346.7 kB / 338 MB, free: 7.539 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3704, allocations: 11.94 kB / 338 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3704, allocations: 4.125 kB / 338 MB, free: 7.523 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.3706, allocations: 20.86 kB / 338 MB, free: 7.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.3709, allocations: 87.89 kB / 338.1 MB, free: 7.414 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3721, allocations: 1.292 MB / 339.4 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.3723, allocations: 15.98 kB / 339.4 MB, free: 5.977 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.3723, allocations: 16 kB / 339.4 MB, free: 5.961 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.3725, allocations: 165.7 kB / 339.6 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.3726, allocations: 43.47 kB / 339.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3727, allocations: 52.05 kB / 339.7 MB, free: 5.688 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3727, allocations: 4 kB / 339.7 MB, free: 5.684 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3727, allocations: 0 / 339.7 MB, free: 5.684 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000621/0.3734, allocations: 0.6531 MB / 340.3 MB, free: 4.926 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.3746, allocations: 0.8535 MB / 341.2 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3746, allocations: 0 / 341.2 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.375, allocations: 75.97 kB / 341.3 MB, free: 3.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/0.375, allocations: 11.98 kB / 341.3 MB, free: 3.918 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.375, allocations: 8 kB / 341.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.375, allocations: 0 / 341.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.375, allocations: 11.89 kB / 341.3 MB, free: 3.898 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.3759, allocations: 0.5343 MB / 341.8 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.3761, allocations: 136.7 kB / 342 MB, free: 3.184 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.3761, allocations: 15.94 kB / 342 MB, free: 3.168 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3763, allocations: 15.98 kB / 342 MB, free: 3.152 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.3764, allocations: 35.86 kB / 342 MB, free: 3.117 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.3764, allocations: 12 kB / 342 MB, free: 3.105 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.3767, allocations: 259 kB / 342.3 MB, free: 2.855 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3767, allocations: 0 / 342.3 MB, free: 2.855 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.3772, allocations: 91.98 kB / 342.4 MB, free: 2.766 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001028/0.3782, allocations: 425.8 kB / 342.8 MB, free: 2.348 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006691/0.3789, allocations: 366.7 kB / 343.2 MB, free: 1.977 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3789, allocations: 0 / 343.2 MB, free: 1.977 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.3791, allocations: 139.6 kB / 343.3 MB, free: 1.84 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.3797, allocations: 93.86 kB / 343.4 MB, free: 1.75 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3819, allocations: 1.252 MB / 344.6 MB, free: 468 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.3824, allocations: 0.8002 MB / 345.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.3827, allocations: 47.25 kB / 345.5 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.3828, allocations: 31.44 kB / 345.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3828, allocations: 0 / 345.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of Templates: time 0.01112/0.394, allocations: 4.771 MB / 350.3 MB, free: 10.78 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1)