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.000922/0.0009223, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001421/0.001421, allocations: 173.4 kB / 16.27 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.691/1.691, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.0005373/0.0005374, allocations: 14.66 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3116, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003409/0.3151, allocations: 2.664 MB / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.3174, allocations: 1.091 MB / 330.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.3177, allocations: 12.19 kB / 330.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.3182, allocations: 147.8 kB / 330.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.3187, allocations: 161.4 kB / 331.1 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.3192, allocations: 120.2 kB / 331.2 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005473/0.3197, allocations: 422 kB / 331.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.3199, allocations: 89.89 kB / 331.7 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.3202, allocations: 160.9 kB / 331.9 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.3204, allocations: 188.8 kB / 332.1 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.3205, allocations: 17.72 kB / 332.1 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.3207, allocations: 51.52 kB / 332.1 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3208, allocations: 73.31 kB / 332.2 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.321, allocations: 199.3 kB / 332.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.3214, allocations: 439.6 kB / 332.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3214, allocations: 0 / 332.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3215, allocations: 0 / 332.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3215, allocations: 0 / 332.8 MB, free: 13.12 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.0009988/0.3225, allocations: 0.6174 MB / 333.4 MB, free: 12.56 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3225, allocations: 9.219 kB / 333.4 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.3226, allocations: 43.38 kB / 333.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.323, allocations: 324.7 kB / 333.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.3231, allocations: 18.03 kB / 333.8 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.3231, allocations: 29.16 kB / 333.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.3237, allocations: 300.6 kB / 334.1 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.3237, allocations: 4.969 kB / 334.1 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.3238, allocations: 11.44 kB / 334.2 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3238, allocations: 9.766 kB / 334.2 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.3241, allocations: 176.4 kB / 334.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.3256, allocations: 0.8606 MB / 335.2 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.3261, allocations: 255.4 kB / 335.5 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.3263, allocations: 105.4 kB / 335.6 MB, free: 10.63 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.3264, allocations: 12.28 kB / 335.6 MB, free: 10.62 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.3267, allocations: 160.9 kB / 335.7 MB, free: 10.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.3267, allocations: 0 / 335.7 MB, free: 10.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002278/0.329, allocations: 1.316 MB / 337 MB, free: 9.023 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.3291, allocations: 191.8 kB / 337.2 MB, free: 8.793 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.3295, allocations: 356.5 kB / 337.6 MB, free: 8.438 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.3295, allocations: 33.7 kB / 337.6 MB, free: 8.398 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3297, allocations: 188.6 kB / 337.8 MB, free: 8.211 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3298, allocations: 138 kB / 337.9 MB, free: 8.074 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.3299, allocations: 41.7 kB / 338 MB, free: 8.027 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.33, allocations: 346.8 kB / 338.3 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3302, allocations: 88.83 kB / 338.4 MB, free: 7.594 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.3304, allocations: 185.3 kB / 338.6 MB, free: 7.375 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.3308, allocations: 242.2 kB / 338.8 MB, free: 7.125 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3308, allocations: 0 / 338.8 MB, free: 7.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005555/0.3314, allocations: 358.2 kB / 339.2 MB, free: 6.766 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3314, allocations: 11.98 kB / 339.2 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3314, allocations: 0 / 339.2 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.903e-05/0.3315, allocations: 16.86 kB / 339.2 MB, free: 6.734 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.3319, allocations: 95.83 kB / 339.3 MB, free: 6.641 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.3331, allocations: 1.281 MB / 340.6 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.3334, allocations: 23.92 kB / 340.6 MB, free: 5.207 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.3334, allocations: 12 kB / 340.6 MB, free: 5.195 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.0002712/0.3337, allocations: 181.7 kB / 340.8 MB, free: 5.008 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.3338, allocations: 35.62 kB / 340.8 MB, free: 4.973 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.3339, allocations: 47.95 kB / 340.9 MB, free: 4.918 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3339, allocations: 4 kB / 340.9 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3339, allocations: 0 / 340.9 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007334/0.3347, allocations: 0.6609 MB / 341.5 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.3359, allocations: 0.854 MB / 342.4 MB, free: 3.227 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3359, allocations: 0 / 342.4 MB, free: 3.227 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.3362, allocations: 83.78 kB / 342.5 MB, free: 3.145 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3362, allocations: 4 kB / 342.5 MB, free: 3.141 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.3363, allocations: 8 kB / 342.5 MB, free: 3.133 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3363, allocations: 4.062 kB / 342.5 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.3363, allocations: 8.109 kB / 342.5 MB, free: 3.121 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.3371, allocations: 0.5457 MB / 343 MB, free: 2.547 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3373, allocations: 140.6 kB / 343.2 MB, free: 2.391 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.3373, allocations: 12 kB / 343.2 MB, free: 2.379 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3375, allocations: 16 kB / 343.2 MB, free: 2.363 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.3376, allocations: 31.95 kB / 343.2 MB, free: 2.332 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.3377, allocations: 12 kB / 343.2 MB, free: 2.32 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002745/0.3379, allocations: 255 kB / 343.5 MB, free: 2.074 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3379, allocations: 0 / 343.5 MB, free: 2.074 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000424/0.3384, allocations: 99.94 kB / 343.6 MB, free: 1.977 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.0009878/0.3394, allocations: 409.3 kB / 344 MB, free: 1.574 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006589/0.34, allocations: 374.2 kB / 344.3 MB, free: 1.195 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3401, allocations: 0 / 344.3 MB, free: 1.195 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.3403, allocations: 135.8 kB / 344.5 MB, free: 1.062 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.3409, allocations: 97.8 kB / 344.6 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.3427, allocations: 1.299 MB / 345.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.3431, allocations: 0.8002 MB / 346.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.3433, allocations: 43.27 kB / 346.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.3434, allocations: 31.44 kB / 346.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3434, allocations: 0 / 346.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Templates: time 0.009696/0.3531, allocations: 4.95 MB / 351.7 MB, free: 9.766 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)