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.001011/0.001012, allocations: 95.16 kB / 16.3 MB, free: 6.004 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.001018/0.001018, allocations: 185.8 kB / 17.2 MB, free: 5.91 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.659/1.659, allocations: 205.4 MB / 223.4 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.0006937/0.0006939, allocations: 12 kB / 280.1 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.331, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002888/0.3339, allocations: 2.422 MB / 330.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3357, allocations: 1.065 MB / 331.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.3359, allocations: 9.062 kB / 331.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.3364, allocations: 133.3 kB / 331.3 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.3368, allocations: 185.5 kB / 331.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.3372, allocations: 125.5 kB / 331.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.3377, allocations: 300.3 kB / 331.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3379, allocations: 76.95 kB / 332 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.3381, allocations: 151.3 kB / 332.1 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.3384, allocations: 157.4 kB / 332.3 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.3384, allocations: 16.28 kB / 332.3 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.3386, allocations: 45.64 kB / 332.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3387, allocations: 72.39 kB / 332.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.3388, allocations: 95.77 kB / 332.5 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.3392, allocations: 327 kB / 332.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3392, allocations: 0 / 332.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3392, allocations: 1.031 kB / 332.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3392, allocations: 0 / 332.8 MB, free: 13.62 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.001014/0.3403, allocations: 0.6201 MB / 333.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3403, allocations: 9.875 kB / 333.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3404, allocations: 45.58 kB / 333.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.341, allocations: 299.7 kB / 333.8 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.341, allocations: 18.41 kB / 333.8 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.3411, allocations: 29.28 kB / 333.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.3416, allocations: 291.7 kB / 334.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3417, allocations: 12.89 kB / 334.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.3417, allocations: 11.72 kB / 334.2 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.3417, allocations: 6.156 kB / 334.2 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.3421, allocations: 170.5 kB / 334.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3436, allocations: 0.8409 MB / 335.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.3442, allocations: 257.3 kB / 335.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.3443, allocations: 8.703 kB / 335.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.3447, allocations: 169.6 kB / 335.6 MB, free: 11.43 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.3447, allocations: 0 / 335.6 MB, free: 11.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002502/0.3472, allocations: 1.305 MB / 336.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.3474, allocations: 183.9 kB / 337.1 MB, free: 9.797 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.3478, allocations: 344.5 kB / 337.4 MB, free: 9.449 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.3479, allocations: 29.7 kB / 337.4 MB, free: 9.414 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3481, allocations: 196.5 kB / 337.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3482, allocations: 134 kB / 337.8 MB, free: 9.086 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.3482, allocations: 12 kB / 337.8 MB, free: 9.074 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3484, allocations: 346.8 kB / 338.1 MB, free: 8.727 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.3486, allocations: 88.83 kB / 338.2 MB, free: 8.641 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.3489, allocations: 177.3 kB / 338.4 MB, free: 8.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.3491, allocations: 109.8 kB / 338.5 MB, free: 8.324 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3491, allocations: 0 / 338.5 MB, free: 8.324 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006033/0.3497, allocations: 350.7 kB / 338.8 MB, free: 7.973 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3498, allocations: 4 kB / 338.8 MB, free: 7.969 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3498, allocations: 4 kB / 338.8 MB, free: 7.965 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.3499, allocations: 28.91 kB / 338.9 MB, free: 7.934 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.3503, allocations: 91.89 kB / 339 MB, free: 7.844 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.3515, allocations: 1.296 MB / 340.3 MB, free: 6.418 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.3517, allocations: 15.98 kB / 340.3 MB, free: 6.402 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.3517, allocations: 16 kB / 340.3 MB, free: 6.387 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.0002064/0.352, allocations: 169.8 kB / 340.4 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.352, allocations: 39.53 kB / 340.5 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.3521, allocations: 47.95 kB / 340.5 MB, free: 6.117 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.3521, allocations: 4 kB / 340.5 MB, free: 6.113 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3521, allocations: 192 / 340.5 MB, free: 6.113 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006773/0.3528, allocations: 0.6648 MB / 341.2 MB, free: 5.344 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3541, allocations: 0.8456 MB / 342 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3541, allocations: 4.125 kB / 342.1 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.3545, allocations: 71.91 kB / 342.1 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.3545, allocations: 11.88 kB / 342.1 MB, free: 4.344 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.3545, allocations: 12 kB / 342.1 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3545, allocations: 7.984 kB / 342.2 MB, free: 4.324 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3545, allocations: 3.938 kB / 342.2 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.3553, allocations: 0.5799 MB / 342.7 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.3555, allocations: 136.7 kB / 342.9 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.3555, allocations: 12 kB / 342.9 MB, free: 3.523 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3558, allocations: 16 kB / 342.9 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.3558, allocations: 31.89 kB / 342.9 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.3559, allocations: 16 kB / 342.9 MB, free: 3.461 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.3561, allocations: 243 kB / 343.2 MB, free: 3.227 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3561, allocations: 0 / 343.2 MB, free: 3.227 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.3566, allocations: 92 kB / 343.3 MB, free: 3.137 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.0009635/0.3575, allocations: 421.4 kB / 343.7 MB, free: 2.723 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.3582, allocations: 366.7 kB / 344 MB, free: 2.352 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3582, allocations: 3.938 kB / 344 MB, free: 2.348 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.3584, allocations: 139.6 kB / 344.2 MB, free: 2.211 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.3589, allocations: 82.39 kB / 344.3 MB, free: 2.133 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.361, allocations: 1.244 MB / 345.5 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.3615, allocations: 0.8158 MB / 346.3 MB, free: 8 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.3617, allocations: 43.02 kB / 346.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.3618, allocations: 31.44 kB / 346.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3618, allocations: 0 / 346.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of Templates: time 0.009701/0.3715, allocations: 4.63 MB / 351 MB, free: 11.3 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: