Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00124/0.001241, allocations: 109.1 kB / 17.06 MB, free: 6.023 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.001417/0.001417, allocations: 191 kB / 17.99 MB, free: 5.109 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.492/1.492, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.00135/0.00135, allocations: 55.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005494/0.118, allocations: 2.987 MB / 377.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1203, allocations: 1.197 MB / 378.7 MB, free: 380 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1205, allocations: 7.938 kB / 378.7 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.1211, allocations: 159.2 kB / 378.8 MB, free: 212 kB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.1216, allocations: 182.9 kB / 379 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2266/0.3482, allocations: 142.5 kB / 379.1 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000662/0.3489, allocations: 444.8 kB / 379.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.3491, allocations: 105.1 kB / 379.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.3494, allocations: 181 kB / 379.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.3497, allocations: 193.4 kB / 380 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.3498, allocations: 28.88 kB / 380.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.3501, allocations: 74.45 kB / 380.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.3502, allocations: 87.42 kB / 380.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.3504, allocations: 190.4 kB / 380.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007351/0.3512, allocations: 465.9 kB / 380.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3512, allocations: 0 / 380.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3512, allocations: 1.375 kB / 380.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3512, allocations: 0 / 380.9 MB, free: 9.621 MB / 318.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.001114/0.3524, allocations: 0.6803 MB / 381.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3524, allocations: 10.7 kB / 381.6 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.3525, allocations: 45.62 kB / 381.6 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.3531, allocations: 325.4 kB / 381.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.3532, allocations: 19.45 kB / 381.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.3533, allocations: 26.5 kB / 382 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.3539, allocations: 297.2 kB / 382.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3539, allocations: 1.344 kB / 382.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.354, allocations: 17.91 kB / 382.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.354, allocations: 6.281 kB / 382.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.3543, allocations: 176.6 kB / 382.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3557, allocations: 0.8362 MB / 383.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.3563, allocations: 260.5 kB / 383.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.3565, allocations: 99.91 kB / 383.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.3566, allocations: 6.312 kB / 383.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.3569, allocations: 168.3 kB / 383.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.3569, allocations: 0 / 383.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002151/0.3591, allocations: 1.321 MB / 385.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3591, allocations: 187 kB / 385.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.3595, allocations: 350.8 kB / 385.7 MB, free: 7.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.3596, allocations: 31.98 kB / 385.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3597, allocations: 187.4 kB / 385.9 MB, free: 6.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.3598, allocations: 137.5 kB / 386 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3599, allocations: 72.84 kB / 386.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.36, allocations: 352.8 kB / 386.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3601, allocations: 86.88 kB / 386.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.3604, allocations: 183 kB / 386.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.3608, allocations: 246.4 kB / 386.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3608, allocations: 1.375 kB / 386.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005496/0.3613, allocations: 356.3 kB / 387.3 MB, free: 5.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3614, allocations: 6.328 kB / 387.3 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3614, allocations: 4.938 kB / 387.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.594e-05/0.3615, allocations: 20.69 kB / 387.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.3618, allocations: 92.7 kB / 387.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009152/0.3628, allocations: 1.39 MB / 388.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.363, allocations: 22.69 kB / 388.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.363, allocations: 15.53 kB / 388.8 MB, free: 4.543 MB / 318.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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.3632, allocations: 182.9 kB / 389 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.3633, allocations: 36.31 kB / 389 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.46e-05/0.3633, allocations: 41.73 kB / 389.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3634, allocations: 4.656 kB / 389.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3634, allocations: 0 / 389.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005538/0.3639, allocations: 0.6722 MB / 389.8 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.3651, allocations: 0.8441 MB / 390.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3651, allocations: 1.156 kB / 390.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.3655, allocations: 79.2 kB / 390.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3655, allocations: 2.312 kB / 390.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3655, allocations: 12.27 kB / 390.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3655, allocations: 7.547 kB / 390.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3655, allocations: 1.094 kB / 390.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007342/0.3663, allocations: 0.5547 MB / 391.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.3664, allocations: 135 kB / 391.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.3664, allocations: 13.08 kB / 391.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3667, allocations: 14.12 kB / 391.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.3668, allocations: 28.45 kB / 391.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.3668, allocations: 15.12 kB / 391.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.3671, allocations: 255.1 kB / 391.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3671, allocations: 0 / 391.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004311/0.3676, allocations: 91.19 kB / 391.8 MB, free: 2.566 MB / 318.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 (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.0009813/0.3685, allocations: 430.3 kB / 392.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.3692, allocations: 372.7 kB / 392.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3692, allocations: 1.406 kB / 392.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.3695, allocations: 134.3 kB / 392.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.3701, allocations: 112.1 kB / 392.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.3718, allocations: 1.026 MB / 393.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3723, allocations: 0.8127 MB / 394.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.3725, allocations: 46.78 kB / 394.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.3726, allocations: 34.5 kB / 394.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3726, allocations: 0 / 394.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of Templates: time 0.01426/0.3868, allocations: 5.326 MB / 400.1 MB, free: 15.75 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1)