Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009266, 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.001168/0.001168, 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.632/1.632, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005315/0.0005315, allocations: 11.98 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3097, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004267/0.314, allocations: 3.001 MB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.316, allocations: 0.8697 MB / 330.3 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.3163, allocations: 16.19 kB / 330.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3166, allocations: 72.86 kB / 330.4 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.317, allocations: 156.5 kB / 330.6 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3172, allocations: 91.92 kB / 330.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006723/0.3179, allocations: 0.5618 MB / 331.2 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.3182, allocations: 156.7 kB / 331.4 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.3185, allocations: 209.5 kB / 331.6 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.3189, allocations: 247.9 kB / 331.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.93e-05/0.319, allocations: 34.41 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.3191, allocations: 34.97 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3192, allocations: 98.12 kB / 332 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3194, allocations: 124.1 kB / 332.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005342/0.3199, allocations: 482.2 kB / 332.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3199, allocations: 0 / 332.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.3199, allocations: 3.984 kB / 332.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.32, allocations: 0.9688 kB / 332.6 MB, free: 12.79 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001577/0.3215, allocations: 0.7596 MB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/0.3216, allocations: 8.375 kB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.3218, allocations: 67.81 kB / 333.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/0.3226, allocations: 374.7 kB / 333.8 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.3228, allocations: 58.34 kB / 333.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.3229, allocations: 33.38 kB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.3239, allocations: 457.3 kB / 334.3 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.324, allocations: 0 / 334.3 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.324, allocations: 20.94 kB / 334.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.3241, allocations: 7.781 kB / 334.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.3248, allocations: 283 kB / 334.6 MB, free: 11.15 MB / 270.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.3272, allocations: 1.31 MB / 335.9 MB, free: 9.754 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3283, allocations: 429.2 kB / 336.4 MB, free: 9.309 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.3286, allocations: 148.7 kB / 336.5 MB, free: 9.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.3287, allocations: 11.98 kB / 336.5 MB, free: 9.148 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.3287, allocations: 42.56 kB / 336.6 MB, free: 9.098 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.3287, allocations: 0 / 336.6 MB, free: 9.098 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001223/0.3299, allocations: 0.614 MB / 337.2 MB, free: 8.434 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002671/0.3302, allocations: 452.9 kB / 337.6 MB, free: 7.887 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.3307, allocations: 446 kB / 338.1 MB, free: 7.441 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3308, allocations: 37.7 kB / 338.1 MB, free: 7.398 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.331, allocations: 224.6 kB / 338.3 MB, free: 7.176 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.3311, allocations: 122.2 kB / 338.4 MB, free: 7.055 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.3311, allocations: 8 kB / 338.4 MB, free: 7.047 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3313, allocations: 354.8 kB / 338.8 MB, free: 6.691 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.3316, allocations: 112.6 kB / 338.9 MB, free: 6.578 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.3319, allocations: 256 kB / 339.1 MB, free: 6.277 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.3322, allocations: 159.3 kB / 339.3 MB, free: 6.117 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3322, allocations: 0 / 339.3 MB, free: 6.117 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000741/0.333, allocations: 424.9 kB / 339.7 MB, free: 5.684 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/0.3331, allocations: 29.7 kB / 339.7 MB, free: 5.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3331, allocations: 8.031 kB / 339.8 MB, free: 5.641 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.3333, allocations: 57.58 kB / 339.8 MB, free: 5.578 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.3337, allocations: 63.95 kB / 339.9 MB, free: 5.516 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.3365, allocations: 2.748 MB / 342.6 MB, free: 2.496 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.3369, allocations: 43.72 kB / 342.7 MB, free: 2.453 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.337, allocations: 12 kB / 342.7 MB, free: 2.441 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.3372, allocations: 165.8 kB / 342.8 MB, free: 2.27 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.3373, allocations: 51.67 kB / 342.9 MB, free: 2.219 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.3375, allocations: 56.64 kB / 342.9 MB, free: 2.164 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.3375, allocations: 8 kB / 342.9 MB, free: 2.156 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3375, allocations: 0 / 342.9 MB, free: 2.156 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007792/0.3383, allocations: 0.657 MB / 343.6 MB, free: 1.395 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.3397, allocations: 0.9083 MB / 344.5 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3398, allocations: 0 / 344.5 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.3401, allocations: 71.89 kB / 344.6 MB, free: 364 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3401, allocations: 4 kB / 344.6 MB, free: 360 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3401, allocations: 11.94 kB / 344.6 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3402, allocations: 0 / 344.6 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3402, allocations: 0 / 344.6 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.3411, allocations: 0.5306 MB / 345.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.3413, allocations: 168.3 kB / 345.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.3414, allocations: 12 kB / 345.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.3417, allocations: 15.98 kB / 345.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3417, allocations: 23.97 kB / 345.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3418, allocations: 4 kB / 345.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.3422, allocations: 319.1 kB / 345.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3422, allocations: 4.062 kB / 345.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.3427, allocations: 127.8 kB / 345.8 MB, free: 15.12 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001502/0.3428, allocations: 107.2 kB / 345.9 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000994/0.3438, allocations: 0.5672 MB / 346.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.3438, allocations: 4 kB / 346.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.3441, allocations: 132.3 kB / 346.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.3449, allocations: 129.8 kB / 346.7 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3468, allocations: 1.056 MB / 347.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.3472, allocations: 0.8198 MB / 348.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.3474, allocations: 60.34 kB / 348.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3476, allocations: 43.44 kB / 348.7 MB, free: 12.1 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3476, allocations: 0 / 348.7 MB, free: 12.1 MB / 286.1 MB Notification: Performance of Templates: time 0.01267/0.3603, allocations: 7.289 MB / 356 MB, free: 4.805 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)