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.001614/0.001614, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002642/0.002642, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.643/1.643, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.0014/0.0014, allocations: 48.39 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2905, allocations: 46.63 MB / 324.8 MB, free: 2.273 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00604/0.2966, allocations: 3.024 MB / 327.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.2998, allocations: 1.184 MB / 329.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.3004, allocations: 5.125 kB / 329.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.3012, allocations: 142.8 kB / 329.2 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.3022, allocations: 170.9 kB / 329.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.3029, allocations: 124.4 kB / 329.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000709/0.3036, allocations: 428.4 kB / 329.9 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.3039, allocations: 110.9 kB / 330 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.3042, allocations: 175 kB / 330.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.3045, allocations: 196.3 kB / 330.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.3046, allocations: 27.84 kB / 330.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.3048, allocations: 68.92 kB / 330.5 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3049, allocations: 92.95 kB / 330.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.3052, allocations: 183.3 kB / 330.7 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.3058, allocations: 453.4 kB / 331.2 MB, free: 13.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3059, allocations: 4 kB / 331.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3059, allocations: 0 / 331.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3059, allocations: 0 / 331.2 MB, free: 13.59 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.001399/0.3073, allocations: 0.6906 MB / 331.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.3074, allocations: 9.281 kB / 331.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.3075, allocations: 50.41 kB / 331.9 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.308, allocations: 320.1 kB / 332.2 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.3081, allocations: 19.66 kB / 332.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.3082, allocations: 32.12 kB / 332.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.3087, allocations: 285.4 kB / 332.6 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.3088, allocations: 12.8 kB / 332.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.3088, allocations: 12.03 kB / 332.6 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3089, allocations: 5.125 kB / 332.6 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.3092, allocations: 182.8 kB / 332.8 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.3106, allocations: 0.8443 MB / 333.6 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.3112, allocations: 259.5 kB / 333.9 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3113, allocations: 101.3 kB / 334 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.3114, allocations: 8.219 kB / 334 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/0.3118, allocations: 160.9 kB / 334.1 MB, free: 10.85 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.3118, allocations: 0 / 334.1 MB, free: 10.85 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002413/0.3142, allocations: 1.324 MB / 335.5 MB, free: 9.418 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3144, allocations: 187.9 kB / 335.7 MB, free: 9.191 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.3147, allocations: 356.5 kB / 336 MB, free: 8.832 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.3148, allocations: 33.7 kB / 336 MB, free: 8.793 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3149, allocations: 184.6 kB / 336.2 MB, free: 8.609 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.315, allocations: 138 kB / 336.3 MB, free: 8.473 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3151, allocations: 82.03 kB / 336.4 MB, free: 8.387 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3153, allocations: 346.8 kB / 336.8 MB, free: 8.039 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.3155, allocations: 92.83 kB / 336.9 MB, free: 7.945 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3157, allocations: 181.2 kB / 337 MB, free: 7.734 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.3161, allocations: 254.2 kB / 337.3 MB, free: 7.473 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3161, allocations: 3.938 kB / 337.3 MB, free: 7.469 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000547/0.3167, allocations: 358.2 kB / 337.6 MB, free: 7.109 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3167, allocations: 4 kB / 337.6 MB, free: 7.105 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3167, allocations: 4 kB / 337.6 MB, free: 7.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.775e-05/0.3168, allocations: 20.84 kB / 337.7 MB, free: 7.078 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3172, allocations: 92.02 kB / 337.8 MB, free: 6.988 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.3183, allocations: 1.386 MB / 339.1 MB, free: 5.465 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3185, allocations: 16.02 kB / 339.2 MB, free: 5.449 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.3186, allocations: 12 kB / 339.2 MB, free: 5.438 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.3188, allocations: 169.8 kB / 339.3 MB, free: 5.262 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.3189, allocations: 39.53 kB / 339.4 MB, free: 5.223 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.319, allocations: 44.02 kB / 339.4 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.319, allocations: 8 kB / 339.4 MB, free: 5.168 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.319, allocations: 7.938 kB / 339.4 MB, free: 5.16 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006629/0.3197, allocations: 0.6608 MB / 340.1 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3208, allocations: 0.8498 MB / 340.9 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3208, allocations: 0 / 340.9 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.3212, allocations: 71.97 kB / 341 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.3212, allocations: 8 kB / 341 MB, free: 3.398 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.3212, allocations: 15.94 kB / 341 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3212, allocations: 3.984 kB / 341 MB, free: 3.379 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3212, allocations: 4 kB / 341 MB, free: 3.375 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.322, allocations: 0.5419 MB / 341.6 MB, free: 2.805 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.3222, allocations: 136.7 kB / 341.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.3222, allocations: 11.98 kB / 341.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3225, allocations: 15.94 kB / 341.7 MB, free: 2.625 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.3225, allocations: 31.91 kB / 341.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.3226, allocations: 19.97 kB / 341.8 MB, free: 2.574 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.3228, allocations: 255 kB / 342 MB, free: 2.328 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3229, allocations: 4 kB / 342 MB, free: 2.324 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.3233, allocations: 96.56 kB / 342.1 MB, free: 2.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.3245, allocations: 422 kB / 342.6 MB, free: 1.816 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008763/0.3254, allocations: 382.3 kB / 342.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3254, allocations: 0 / 342.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.3256, allocations: 139.8 kB / 343.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.3263, allocations: 89.86 kB / 343.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3282, allocations: 1.167 MB / 344.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.3286, allocations: 0.808 MB / 345.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.3288, allocations: 43.27 kB / 345.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.3289, allocations: 39.42 kB / 345.2 MB, free: 15.08 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3289, allocations: 0 / 345.2 MB, free: 15.08 MB / 286.1 MB Notification: Performance of Templates: time 0.01122/0.3402, allocations: 5.219 MB / 350.4 MB, free: 9.855 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)