Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001209/0.001209, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01018/0.01018, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.723/1.723, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.0004475/0.0004475, allocations: 8 kB / 279.4 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 47.59 MB / 327 MB, free: 1.363 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003643/0.3022, allocations: 2.66 MB / 329.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3041, allocations: 1.1 MB / 330.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.3043, allocations: 3.531 kB / 330.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.3048, allocations: 152 kB / 330.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.3052, allocations: 160.3 kB / 331.1 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.3056, allocations: 134.2 kB / 331.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.3061, allocations: 409.8 kB / 331.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.3063, allocations: 89.83 kB / 331.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.3066, allocations: 164 kB / 331.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.3068, allocations: 181.1 kB / 332.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.3069, allocations: 17.16 kB / 332.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.307, allocations: 56.48 kB / 332.1 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.3071, allocations: 72.12 kB / 332.2 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.3073, allocations: 204 kB / 332.4 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.3078, allocations: 427.4 kB / 332.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3078, allocations: 0 / 332.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3079, allocations: 1.094 kB / 332.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3079, allocations: 0 / 332.8 MB, free: 13.09 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.00109/0.309, allocations: 0.6333 MB / 333.4 MB, free: 12.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.309, allocations: 8.25 kB / 333.5 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.3091, allocations: 43.44 kB / 333.5 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.3095, allocations: 311.8 kB / 333.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.3096, allocations: 27.53 kB / 333.8 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.3096, allocations: 32.19 kB / 333.9 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.3102, allocations: 289.3 kB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3102, allocations: 4.938 kB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.3102, allocations: 11.34 kB / 334.2 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3103, allocations: 13.64 kB / 334.2 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.3106, allocations: 180.2 kB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.312, allocations: 0.8569 MB / 335.2 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.3126, allocations: 259.5 kB / 335.5 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.3127, allocations: 101.3 kB / 335.6 MB, free: 10.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.3128, allocations: 8.266 kB / 335.6 MB, free: 10.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.3131, allocations: 164.9 kB / 335.7 MB, free: 10.48 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.3132, allocations: 0 / 335.7 MB, free: 10.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002302/0.3155, allocations: 1.312 MB / 337 MB, free: 9.059 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3156, allocations: 187.9 kB / 337.2 MB, free: 8.832 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.316, allocations: 352.5 kB / 337.6 MB, free: 8.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.316, allocations: 41.69 kB / 337.6 MB, free: 8.434 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3162, allocations: 188.6 kB / 337.8 MB, free: 8.246 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3163, allocations: 138 kB / 337.9 MB, free: 8.109 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.3163, allocations: 37.7 kB / 338 MB, free: 8.066 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3165, allocations: 346.8 kB / 338.3 MB, free: 7.719 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3167, allocations: 88.83 kB / 338.4 MB, free: 7.633 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.3169, allocations: 185.2 kB / 338.6 MB, free: 7.414 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.3173, allocations: 242.2 kB / 338.8 MB, free: 7.164 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3173, allocations: 4 kB / 338.8 MB, free: 7.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005481/0.3179, allocations: 358.2 kB / 339.2 MB, free: 6.801 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3179, allocations: 8 kB / 339.2 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3179, allocations: 0 / 339.2 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.955e-05/0.318, allocations: 20.84 kB / 339.2 MB, free: 6.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3183, allocations: 87.91 kB / 339.3 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.3194, allocations: 1.289 MB / 340.6 MB, free: 5.266 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.3196, allocations: 23.94 kB / 340.6 MB, free: 5.242 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3197, allocations: 20.14 kB / 340.6 MB, free: 5.223 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 ($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.0002128/0.3199, allocations: 173.7 kB / 340.8 MB, free: 5.043 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.3199, allocations: 35.62 kB / 340.8 MB, free: 5.008 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.3201, allocations: 47.94 kB / 340.9 MB, free: 4.953 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3201, allocations: 8 kB / 340.9 MB, free: 4.945 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3201, allocations: 0 / 340.9 MB, free: 4.945 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007386/0.3208, allocations: 0.6575 MB / 341.5 MB, free: 4.184 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.322, allocations: 0.8535 MB / 342.4 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.322, allocations: 0 / 342.4 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.3223, allocations: 87.7 kB / 342.5 MB, free: 3.176 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3223, allocations: 4 kB / 342.5 MB, free: 3.172 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.3224, allocations: 20.06 kB / 342.5 MB, free: 3.152 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3224, allocations: 0 / 342.5 MB, free: 3.152 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.3224, allocations: 4 kB / 342.5 MB, free: 3.148 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.3231, allocations: 0.538 MB / 343 MB, free: 2.582 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3233, allocations: 144.6 kB / 343.2 MB, free: 2.422 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.3233, allocations: 8 kB / 343.2 MB, free: 2.414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.3236, allocations: 23.92 kB / 343.2 MB, free: 2.391 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.3236, allocations: 19.97 kB / 343.2 MB, free: 2.371 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.3237, allocations: 16 kB / 343.2 MB, free: 2.355 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000303/0.324, allocations: 255 kB / 343.5 MB, free: 2.109 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.324, allocations: 0 / 343.5 MB, free: 2.109 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.3244, allocations: 104 kB / 343.6 MB, free: 2.008 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 (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.001052/0.3255, allocations: 417.5 kB / 344 MB, free: 1.598 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.3262, allocations: 366.3 kB / 344.3 MB, free: 1.227 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3262, allocations: 0 / 344.3 MB, free: 1.227 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3264, allocations: 140.3 kB / 344.5 MB, free: 1.09 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.3271, allocations: 93.3 kB / 344.6 MB, free: 1 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.329, allocations: 1.291 MB / 345.9 MB, free: 15.67 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3294, allocations: 0.8002 MB / 346.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.3296, allocations: 43.27 kB / 346.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.3297, allocations: 39.44 kB / 346.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3297, allocations: 0 / 346.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Templates: time 0.01045/0.3401, allocations: 4.939 MB / 351.7 MB, free: 9.812 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1)