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.001125/0.001125, allocations: 83.62 kB / 16.31 MB, free: 6.449 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.001722/0.001722, allocations: 179.8 kB / 17.21 MB, free: 6.32 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.606/1.606, allocations: 205.4 MB / 223.4 MB, free: 5.574 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.0005073/0.0005075, allocations: 10.66 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3128, allocations: 47.6 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003551/0.3164, allocations: 2.552 MB / 330.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.3187, allocations: 1.051 MB / 331.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.3189, allocations: 7.062 kB / 331.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.3195, allocations: 147.6 kB / 331.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.32, allocations: 151.9 kB / 331.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.3204, allocations: 117.6 kB / 331.7 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.3209, allocations: 389.5 kB / 332.1 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.3211, allocations: 80.59 kB / 332.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.3214, allocations: 156.4 kB / 332.4 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.3216, allocations: 175.2 kB / 332.5 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.3217, allocations: 17.66 kB / 332.5 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.3219, allocations: 51.53 kB / 332.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.322, allocations: 68.55 kB / 332.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3221, allocations: 94.45 kB / 332.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.3226, allocations: 338 kB / 333.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.3226, allocations: 4 kB / 333.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3227, allocations: 1 kB / 333.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3227, allocations: 0 / 333.1 MB, free: 13.46 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.001065/0.3237, allocations: 0.6239 MB / 333.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3238, allocations: 9.594 kB / 333.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.3239, allocations: 46.3 kB / 333.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.3243, allocations: 306.5 kB / 334.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.3244, allocations: 18.5 kB / 334.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.3244, allocations: 25 kB / 334.1 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.325, allocations: 294.4 kB / 334.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.325, allocations: 5.438 kB / 334.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.3251, allocations: 10.84 kB / 334.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.3251, allocations: 5.781 kB / 334.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.3255, allocations: 174.9 kB / 334.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.3274, allocations: 0.8555 MB / 335.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.3281, allocations: 255.2 kB / 335.7 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.3283, allocations: 97.38 kB / 335.8 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/0.3284, allocations: 4.281 kB / 335.8 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004885/0.3289, allocations: 176.8 kB / 336 MB, free: 11.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.3289, allocations: 3.938 kB / 336 MB, free: 11.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002778/0.3317, allocations: 1.313 MB / 337.3 MB, free: 9.625 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.3319, allocations: 187.9 kB / 337.5 MB, free: 9.398 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.3323, allocations: 352.5 kB / 337.8 MB, free: 9.043 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.3324, allocations: 33.7 kB / 337.8 MB, free: 9.004 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3326, allocations: 188.6 kB / 338 MB, free: 8.816 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.3327, allocations: 134 kB / 338.2 MB, free: 8.684 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.3327, allocations: 12 kB / 338.2 MB, free: 8.672 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3329, allocations: 350.8 kB / 338.5 MB, free: 8.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3331, allocations: 88.83 kB / 338.6 MB, free: 8.234 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3333, allocations: 177.3 kB / 338.8 MB, free: 8.023 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.3335, allocations: 105.8 kB / 338.9 MB, free: 7.922 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3335, allocations: 7.953 kB / 338.9 MB, free: 7.914 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005722/0.3341, allocations: 350.6 kB / 339.2 MB, free: 7.562 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3342, allocations: 4 kB / 339.2 MB, free: 7.559 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3342, allocations: 4.125 kB / 339.2 MB, free: 7.555 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/0.3343, allocations: 24.84 kB / 339.3 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.3346, allocations: 87.89 kB / 339.3 MB, free: 7.441 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.3358, allocations: 1.292 MB / 340.6 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.336, allocations: 12 kB / 340.7 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.3361, allocations: 19.98 kB / 340.7 MB, free: 5.988 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.0002284/0.3363, allocations: 165.7 kB / 340.8 MB, free: 5.816 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.3364, allocations: 39.53 kB / 340.9 MB, free: 5.777 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.3365, allocations: 48.03 kB / 340.9 MB, free: 5.723 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3365, allocations: 8 kB / 340.9 MB, free: 5.715 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3365, allocations: 0 / 340.9 MB, free: 5.715 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007403/0.3373, allocations: 0.657 MB / 341.6 MB, free: 4.953 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.3386, allocations: 0.8496 MB / 342.4 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3386, allocations: 0 / 342.4 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.3389, allocations: 79.89 kB / 342.5 MB, free: 3.957 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3389, allocations: 4 kB / 342.5 MB, free: 3.953 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.339, allocations: 8 kB / 342.5 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.339, allocations: 7.938 kB / 342.5 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.339, allocations: 3.953 kB / 342.5 MB, free: 3.934 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.3398, allocations: 0.5422 MB / 343.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.3399, allocations: 140.7 kB / 343.2 MB, free: 3.207 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.34, allocations: 12 kB / 343.2 MB, free: 3.195 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3402, allocations: 15.98 kB / 343.2 MB, free: 3.18 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.3403, allocations: 35.86 kB / 343.3 MB, free: 3.145 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.3403, allocations: 16 kB / 343.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.3406, allocations: 259 kB / 343.5 MB, free: 2.879 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3406, allocations: 0 / 343.5 MB, free: 2.879 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.341, allocations: 92 kB / 343.6 MB, free: 2.789 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.001031/0.3421, allocations: 409.8 kB / 344 MB, free: 2.387 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.3428, allocations: 374.6 kB / 344.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3428, allocations: 0 / 344.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.343, allocations: 135.6 kB / 344.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.3436, allocations: 89.88 kB / 344.6 MB, free: 1.789 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3457, allocations: 1.256 MB / 345.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.3463, allocations: 0.804 MB / 346.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.3465, allocations: 47.25 kB / 346.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.3466, allocations: 39.44 kB / 346.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3466, allocations: 0 / 346.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of Templates: time 0.009986/0.3566, allocations: 4.767 MB / 351.5 MB, free: 10.8 MB / 286.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)