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.001358/0.001358, allocations: 99.78 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.00178/0.001781, 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.727/1.727, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0005329/0.0005332, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2962, allocations: 47.59 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003681/0.2999, allocations: 2.421 MB / 328.9 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3018, allocations: 1.062 MB / 329.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.302, allocations: 12.12 kB / 329.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.3025, allocations: 129.8 kB / 330.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.3029, allocations: 185.6 kB / 330.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.3033, allocations: 124.5 kB / 330.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.3038, allocations: 297.7 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.304, allocations: 76.23 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.3042, allocations: 152.2 kB / 330.9 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.3045, allocations: 157.3 kB / 331 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.3046, allocations: 16.19 kB / 331.1 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.3047, allocations: 49.28 kB / 331.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.3048, allocations: 64.86 kB / 331.2 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.3049, allocations: 91.14 kB / 331.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.3053, allocations: 335.2 kB / 331.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3053, allocations: 1.438 kB / 331.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3053, allocations: 0 / 331.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3053, allocations: 0 / 331.6 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.001188/0.3065, allocations: 0.6243 MB / 332.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3066, allocations: 9.219 kB / 332.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.3067, allocations: 46.14 kB / 332.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.3072, allocations: 299.7 kB / 332.6 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.3073, allocations: 18.47 kB / 332.6 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.3074, allocations: 24.91 kB / 332.6 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.308, allocations: 288.4 kB / 332.9 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.308, allocations: 12.83 kB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.3081, allocations: 11.06 kB / 332.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3081, allocations: 5.875 kB / 332.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.3084, allocations: 175.5 kB / 333.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3099, allocations: 0.8371 MB / 333.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/0.3106, allocations: 256 kB / 334.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.3106, allocations: 16.69 kB / 334.2 MB, free: 11.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.311, allocations: 166.8 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.694e-06/0.311, allocations: 0 / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002372/0.3134, allocations: 1.309 MB / 335.7 MB, free: 9.996 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.3135, allocations: 183.9 kB / 335.8 MB, free: 9.773 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.3139, allocations: 340.5 kB / 336.2 MB, free: 9.43 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3139, allocations: 37.7 kB / 336.2 MB, free: 9.387 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3141, allocations: 188.6 kB / 336.4 MB, free: 9.199 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.3142, allocations: 134 kB / 336.5 MB, free: 9.066 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.3142, allocations: 8 kB / 336.5 MB, free: 9.059 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3144, allocations: 350.8 kB / 336.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.3145, allocations: 92.77 kB / 337 MB, free: 8.617 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3148, allocations: 177.3 kB / 337.1 MB, free: 8.406 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.315, allocations: 101.9 kB / 337.2 MB, free: 8.309 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.315, allocations: 4 kB / 337.2 MB, free: 8.305 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005675/0.3156, allocations: 358.7 kB / 337.6 MB, free: 7.945 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3156, allocations: 4 kB / 337.6 MB, free: 7.941 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3156, allocations: 4 kB / 337.6 MB, free: 7.938 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.3157, allocations: 24.97 kB / 337.6 MB, free: 7.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.3161, allocations: 87.84 kB / 337.7 MB, free: 7.824 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.3175, allocations: 1.299 MB / 339 MB, free: 6.395 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.3177, allocations: 15.98 kB / 339 MB, free: 6.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.3177, allocations: 16 kB / 339 MB, free: 6.363 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.0001951/0.3179, allocations: 165.7 kB / 339.2 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.318, allocations: 47.52 kB / 339.2 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.984e-05/0.3181, allocations: 43.95 kB / 339.3 MB, free: 6.094 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3181, allocations: 4 kB / 339.3 MB, free: 6.09 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3181, allocations: 4.188 kB / 339.3 MB, free: 6.086 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006638/0.3188, allocations: 0.6537 MB / 339.9 MB, free: 5.328 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.3199, allocations: 0.8457 MB / 340.8 MB, free: 4.414 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3199, allocations: 4.031 kB / 340.8 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.3203, allocations: 75.89 kB / 340.9 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3203, allocations: 4 kB / 340.9 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.3203, allocations: 12 kB / 340.9 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3203, allocations: 3.938 kB / 340.9 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3203, allocations: 7.938 kB / 340.9 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/0.3211, allocations: 0.5838 MB / 341.5 MB, free: 3.672 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3212, allocations: 136.7 kB / 341.6 MB, free: 3.52 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.3213, allocations: 12.12 kB / 341.6 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3215, allocations: 23.98 kB / 341.7 MB, free: 3.484 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.3215, allocations: 23.97 kB / 341.7 MB, free: 3.461 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.3216, allocations: 23.86 kB / 341.7 MB, free: 3.438 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.3218, allocations: 247 kB / 341.9 MB, free: 3.199 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3218, allocations: 0 / 341.9 MB, free: 3.199 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.3222, allocations: 88 kB / 342 MB, free: 3.113 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.0009782/0.3232, allocations: 421.3 kB / 342.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006918/0.3239, allocations: 366.7 kB / 342.8 MB, free: 2.328 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3239, allocations: 0 / 342.8 MB, free: 2.328 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.3242, allocations: 135.6 kB / 342.9 MB, free: 2.195 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.3247, allocations: 89.75 kB / 343 MB, free: 2.109 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3265, allocations: 1.248 MB / 344.3 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.327, allocations: 0.8119 MB / 345.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.3272, allocations: 46.92 kB / 345.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.3273, allocations: 31.44 kB / 345.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3273, allocations: 0 / 345.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of Templates: time 0.009333/0.3366, allocations: 4.63 MB / 349.8 MB, free: 11.27 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: