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.001012/0.001012, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00118/0.00118, allocations: 168.7 kB / 15.95 MB, free: 204 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.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0005567/0.0005569, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3059, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003202/0.3091, allocations: 2.548 MB / 329 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.311, allocations: 1.048 MB / 330.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.3111, allocations: 12.22 kB / 330.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.3116, allocations: 138.5 kB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.312, allocations: 151.9 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.3124, allocations: 128.8 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.3129, allocations: 390.8 kB / 330.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.3131, allocations: 76.16 kB / 331 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.3133, allocations: 155.7 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.3136, allocations: 172.1 kB / 331.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.3136, allocations: 17 kB / 331.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3138, allocations: 60 kB / 331.3 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.3139, allocations: 68.69 kB / 331.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.314, allocations: 94.48 kB / 331.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.3144, allocations: 329.8 kB / 331.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3144, allocations: 3.938 kB / 331.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3144, allocations: 0.9375 kB / 331.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3144, allocations: 0 / 331.8 MB, free: 13.45 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.0009625/0.3154, allocations: 0.6368 MB / 332.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3154, allocations: 9.156 kB / 332.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.3155, allocations: 45.33 kB / 332.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.3159, allocations: 303.5 kB / 332.8 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.316, allocations: 18.78 kB / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.316, allocations: 24.28 kB / 332.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.3165, allocations: 290.2 kB / 333.1 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3166, allocations: 8.828 kB / 333.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.3166, allocations: 12.25 kB / 333.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3166, allocations: 5.344 kB / 333.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.317, allocations: 175 kB / 333.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.3185, allocations: 0.8585 MB / 334.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.3191, allocations: 258.9 kB / 334.5 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3193, allocations: 97.39 kB / 334.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.3194, allocations: 8.281 kB / 334.6 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/0.3198, allocations: 164.9 kB / 334.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.3198, allocations: 0 / 334.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002401/0.3223, allocations: 1.313 MB / 336 MB, free: 9.613 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.3224, allocations: 191.9 kB / 336.2 MB, free: 9.383 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.3228, allocations: 348.5 kB / 336.6 MB, free: 9.031 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.3229, allocations: 41.69 kB / 336.6 MB, free: 8.984 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.323, allocations: 184.6 kB / 336.8 MB, free: 8.801 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3231, allocations: 142 kB / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.3231, allocations: 4 kB / 336.9 MB, free: 8.656 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3233, allocations: 350.8 kB / 337.3 MB, free: 8.305 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.3235, allocations: 88.84 kB / 337.4 MB, free: 8.219 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.3237, allocations: 173.3 kB / 337.5 MB, free: 8.012 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.3239, allocations: 117.8 kB / 337.6 MB, free: 7.898 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3239, allocations: 3.953 kB / 337.6 MB, free: 7.895 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005566/0.3245, allocations: 350.6 kB / 338 MB, free: 7.543 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3245, allocations: 4 kB / 338 MB, free: 7.539 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3245, allocations: 8.125 kB / 338 MB, free: 7.531 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.522e-05/0.3246, allocations: 16.86 kB / 338 MB, free: 7.512 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.325, allocations: 87.89 kB / 338.1 MB, free: 7.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.3261, allocations: 1.292 MB / 339.4 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3263, allocations: 8.031 kB / 339.4 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.3263, allocations: 16 kB / 339.4 MB, free: 5.98 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.0002065/0.3265, allocations: 169.7 kB / 339.6 MB, free: 5.805 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.3266, allocations: 43.53 kB / 339.6 MB, free: 5.762 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.3267, allocations: 48.05 kB / 339.7 MB, free: 5.707 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3267, allocations: 7.938 kB / 339.7 MB, free: 5.699 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3267, allocations: 0 / 339.7 MB, free: 5.699 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006772/0.3274, allocations: 0.657 MB / 340.3 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.3286, allocations: 0.8535 MB / 341.2 MB, free: 4.016 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3286, allocations: 4 kB / 341.2 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.3289, allocations: 75.97 kB / 341.3 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3289, allocations: 4 kB / 341.3 MB, free: 3.934 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.3289, allocations: 11.98 kB / 341.3 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.329, allocations: 7.938 kB / 341.3 MB, free: 3.914 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.329, allocations: 3.953 kB / 341.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.33, allocations: 0.5304 MB / 341.8 MB, free: 3.352 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.3301, allocations: 140.7 kB / 342 MB, free: 3.195 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.3302, allocations: 11.94 kB / 342 MB, free: 3.184 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3304, allocations: 19.98 kB / 342 MB, free: 3.164 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.3305, allocations: 35.86 kB / 342 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.3305, allocations: 12 kB / 342 MB, free: 3.117 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.3308, allocations: 255 kB / 342.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3308, allocations: 0 / 342.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004268/0.3313, allocations: 96 kB / 342.4 MB, free: 2.777 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.001083/0.3323, allocations: 414 kB / 342.8 MB, free: 2.371 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007924/0.3332, allocations: 370.7 kB / 343.1 MB, free: 1.996 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3332, allocations: 4 kB / 343.1 MB, free: 1.992 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.3334, allocations: 139.6 kB / 343.3 MB, free: 1.855 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.334, allocations: 85.88 kB / 343.4 MB, free: 1.773 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3361, allocations: 1.252 MB / 344.6 MB, free: 492 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.3366, allocations: 0.8118 MB / 345.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.3369, allocations: 47.25 kB / 345.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.3369, allocations: 35.44 kB / 345.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.337, allocations: 0 / 345.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of Templates: time 0.01154/0.3485, allocations: 4.763 MB / 350.3 MB, free: 10.79 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (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)