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.001101/0.001101, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001126/0.001127, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004811/0.0004812, allocations: 14.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2905, allocations: 47.59 MB / 326.4 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003411/0.2939, allocations: 2.43 MB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.296, allocations: 1.052 MB / 329.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.2963, allocations: 8.219 kB / 329.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.2969, allocations: 141.2 kB / 330.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.2975, allocations: 186.1 kB / 330.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.2981, allocations: 116.8 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008556/0.299, allocations: 297.3 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.2992, allocations: 87.89 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.2996, allocations: 147.4 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.3, allocations: 166.1 kB / 331 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.891e-05/0.3, allocations: 16.28 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.3003, allocations: 42.48 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3004, allocations: 63.06 kB / 331.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3005, allocations: 95.27 kB / 331.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.301, allocations: 332.9 kB / 331.6 MB, free: 13.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.301, allocations: 0 / 331.6 MB, free: 13.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.301, allocations: 3.938 kB / 331.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.3011, allocations: 0 / 331.6 MB, free: 13.57 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.001279/0.3023, allocations: 0.6203 MB / 332.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3024, allocations: 13.95 kB / 332.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.3026, allocations: 45.8 kB / 332.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.3032, allocations: 300.2 kB / 332.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.3032, allocations: 18 kB / 332.6 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.3033, allocations: 24.03 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.304, allocations: 293.3 kB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.304, allocations: 5.031 kB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.3041, allocations: 10.78 kB / 332.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3041, allocations: 6.125 kB / 332.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.3045, allocations: 174.9 kB / 333.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3061, allocations: 0.8409 MB / 333.9 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.3067, allocations: 264.5 kB / 334.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.3068, allocations: 8.516 kB / 334.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.3072, allocations: 155.4 kB / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.3072, allocations: 4 kB / 334.3 MB, free: 11.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002366/0.3095, allocations: 1.301 MB / 335.6 MB, free: 9.973 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.3097, allocations: 195.9 kB / 335.8 MB, free: 9.738 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.31, allocations: 344.5 kB / 336.2 MB, free: 9.391 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3101, allocations: 33.7 kB / 336.2 MB, free: 9.352 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3102, allocations: 184.6 kB / 336.4 MB, free: 9.168 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3103, allocations: 142 kB / 336.5 MB, free: 9.027 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.3104, allocations: 4 kB / 336.5 MB, free: 9.023 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3105, allocations: 346.8 kB / 336.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3107, allocations: 92.78 kB / 337 MB, free: 8.586 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.3109, allocations: 177.3 kB / 337.1 MB, free: 8.375 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3111, allocations: 109.9 kB / 337.2 MB, free: 8.27 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3112, allocations: 0 / 337.2 MB, free: 8.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005206/0.3117, allocations: 358.6 kB / 337.6 MB, free: 7.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3117, allocations: 4 kB / 337.6 MB, free: 7.906 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3117, allocations: 0 / 337.6 MB, free: 7.906 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.951e-05/0.3118, allocations: 20.86 kB / 337.6 MB, free: 7.883 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.3121, allocations: 95.95 kB / 337.7 MB, free: 7.789 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009952/0.3132, allocations: 1.295 MB / 339 MB, free: 6.363 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3134, allocations: 16.28 kB / 339 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.3134, allocations: 12 kB / 339 MB, free: 6.336 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.0001945/0.3136, allocations: 173.7 kB / 339.2 MB, free: 6.156 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.3137, allocations: 39.53 kB / 339.2 MB, free: 6.117 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.3138, allocations: 51.89 kB / 339.3 MB, free: 6.059 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3138, allocations: 4 kB / 339.3 MB, free: 6.055 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3138, allocations: 0 / 339.3 MB, free: 6.055 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007522/0.3145, allocations: 0.6537 MB / 339.9 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.3157, allocations: 0.8534 MB / 340.8 MB, free: 4.375 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3158, allocations: 0 / 340.8 MB, free: 4.375 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.3162, allocations: 80.02 kB / 340.9 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3162, allocations: 8 kB / 340.9 MB, free: 4.289 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3162, allocations: 11.94 kB / 340.9 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3162, allocations: 0 / 340.9 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3163, allocations: 4 kB / 340.9 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.317, allocations: 0.5838 MB / 341.5 MB, free: 3.637 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3172, allocations: 140.6 kB / 341.6 MB, free: 3.48 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.3172, allocations: 12 kB / 341.6 MB, free: 3.469 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.3175, allocations: 23.97 kB / 341.7 MB, free: 3.445 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.3175, allocations: 27.97 kB / 341.7 MB, free: 3.418 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.3176, allocations: 8 kB / 341.7 MB, free: 3.41 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002407/0.3178, allocations: 251 kB / 341.9 MB, free: 3.168 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3178, allocations: 0 / 341.9 MB, free: 3.168 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004021/0.3182, allocations: 95.98 kB / 342 MB, free: 3.074 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.001039/0.3193, allocations: 417.9 kB / 342.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006209/0.3199, allocations: 366.7 kB / 342.8 MB, free: 2.293 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3199, allocations: 3.938 kB / 342.8 MB, free: 2.289 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3201, allocations: 135.7 kB / 342.9 MB, free: 2.156 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.3206, allocations: 81.83 kB / 343 MB, free: 2.078 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3225, allocations: 1.248 MB / 344.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.3229, allocations: 0.808 MB / 345.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.3233, allocations: 46.94 kB / 345.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.3234, allocations: 39.42 kB / 345.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3234, allocations: 0 / 345.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of Templates: time 0.01039/0.3338, allocations: 4.623 MB / 349.8 MB, free: 11.25 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: