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.001627/0.001627, 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.001223/0.001223, allocations: 192.2 kB / 16.13 MB, free: 6.664 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.653/1.653, allocations: 205.1 MB / 222 MB, free: 4.734 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.001182/0.001182, allocations: 51.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3155, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004725/0.3203, allocations: 3.024 MB / 327.7 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.3229, allocations: 1.179 MB / 328.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.3232, allocations: 7.344 kB / 328.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.3239, allocations: 155.8 kB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.3243, allocations: 157 kB / 329.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.3248, allocations: 125 kB / 329.3 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.3254, allocations: 418.4 kB / 329.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.3256, allocations: 86.41 kB / 329.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3258, allocations: 161.4 kB / 330 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3261, allocations: 189.2 kB / 330.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.3262, allocations: 20.31 kB / 330.2 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3264, allocations: 70.03 kB / 330.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3265, allocations: 77.62 kB / 330.3 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.3268, allocations: 178.1 kB / 330.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.3273, allocations: 439.3 kB / 330.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3273, allocations: 3.984 kB / 330.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3273, allocations: 1.219 kB / 330.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3274, allocations: 0 / 330.9 MB, free: 13.31 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.001303/0.3287, allocations: 0.6901 MB / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3287, allocations: 8.406 kB / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3288, allocations: 47.16 kB / 331.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.3293, allocations: 316.5 kB / 332 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.3293, allocations: 19.09 kB / 332 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.3294, allocations: 28.09 kB / 332 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.33, allocations: 297.6 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.33, allocations: 9.094 kB / 332.3 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.33, allocations: 10.41 kB / 332.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.33, allocations: 6.906 kB / 332.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.3304, allocations: 172 kB / 332.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.332, allocations: 0.8528 MB / 333.4 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.3326, allocations: 259.4 kB / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3328, allocations: 105.4 kB / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3329, allocations: 4.281 kB / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.3333, allocations: 164.9 kB / 333.9 MB, free: 10.74 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.3333, allocations: 0 / 333.9 MB, free: 10.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002381/0.3357, allocations: 1.324 MB / 335.2 MB, free: 9.305 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.3358, allocations: 183.9 kB / 335.4 MB, free: 9.082 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.3362, allocations: 356.5 kB / 335.7 MB, free: 8.727 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3363, allocations: 33.7 kB / 335.8 MB, free: 8.688 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.3364, allocations: 188.6 kB / 335.9 MB, free: 8.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3366, allocations: 138 kB / 336.1 MB, free: 8.363 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3367, allocations: 77.98 kB / 336.2 MB, free: 8.281 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3368, allocations: 346.8 kB / 336.5 MB, free: 7.934 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.337, allocations: 92.83 kB / 336.6 MB, free: 7.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.3372, allocations: 185.3 kB / 336.8 MB, free: 7.625 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.3376, allocations: 246.2 kB / 337 MB, free: 7.371 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3376, allocations: 0 / 337 MB, free: 7.371 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005376/0.3382, allocations: 358.2 kB / 337.4 MB, free: 7.012 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3382, allocations: 8 kB / 337.4 MB, free: 7.004 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3382, allocations: 0 / 337.4 MB, free: 7.004 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.3384, allocations: 24.92 kB / 337.4 MB, free: 6.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.3387, allocations: 91.89 kB / 337.5 MB, free: 6.887 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.3399, allocations: 1.292 MB / 338.8 MB, free: 5.465 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.3401, allocations: 16.02 kB / 338.8 MB, free: 5.449 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3401, allocations: 12 kB / 338.8 MB, free: 5.438 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.000274/0.3404, allocations: 182.1 kB / 339 MB, free: 5.25 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.3405, allocations: 39.53 kB / 339 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.327e-05/0.3406, allocations: 43.95 kB / 339.1 MB, free: 5.16 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3406, allocations: 7.984 kB / 339.1 MB, free: 5.152 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3406, allocations: 4.094 kB / 339.1 MB, free: 5.148 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006854/0.3413, allocations: 0.6609 MB / 339.7 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3425, allocations: 0.8464 MB / 340.6 MB, free: 3.469 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3425, allocations: 4 kB / 340.6 MB, free: 3.465 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.3428, allocations: 75.84 kB / 340.7 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3429, allocations: 0 / 340.7 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.3429, allocations: 12 kB / 340.7 MB, free: 3.379 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.3429, allocations: 7.984 kB / 340.7 MB, free: 3.371 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3429, allocations: 0 / 340.7 MB, free: 3.371 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000759/0.3437, allocations: 0.5457 MB / 341.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3438, allocations: 136.6 kB / 341.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.3439, allocations: 15.98 kB / 341.4 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3441, allocations: 12 kB / 341.4 MB, free: 2.617 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.3442, allocations: 23.97 kB / 341.4 MB, free: 2.594 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.3442, allocations: 19.98 kB / 341.4 MB, free: 2.574 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000258/0.3445, allocations: 255 kB / 341.7 MB, free: 2.328 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3445, allocations: 0 / 341.7 MB, free: 2.328 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.3449, allocations: 96 kB / 341.8 MB, free: 2.234 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.0009982/0.3459, allocations: 422.1 kB / 342.2 MB, free: 1.82 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006095/0.3466, allocations: 370.5 kB / 342.5 MB, free: 1.445 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3466, allocations: 0 / 342.5 MB, free: 1.445 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3468, allocations: 131.8 kB / 342.7 MB, free: 1.316 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.3474, allocations: 97.19 kB / 342.8 MB, free: 1.223 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.3492, allocations: 1.171 MB / 343.9 MB, free: 8 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3496, allocations: 0.808 MB / 344.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.3499, allocations: 47.27 kB / 344.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.173e-05/0.35, allocations: 35.44 kB / 344.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of SimCode: time 4.41e-07/0.35, allocations: 0 / 344.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of Templates: time 0.009817/0.3598, allocations: 4.982 MB / 349.8 MB, free: 10.11 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)