Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, 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.001432/0.001432, 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.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004987/0.0004988, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2437, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01118/0.2549, allocations: 10.62 MB / 337.1 MB, free: 8.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2572, allocations: 1.399 MB / 338.5 MB, free: 7.477 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.2574, allocations: 4 kB / 338.5 MB, free: 7.473 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.258, allocations: 151.3 kB / 338.6 MB, free: 7.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.2585, allocations: 199.4 kB / 338.8 MB, free: 7.129 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.2592, allocations: 223.6 kB / 339 MB, free: 6.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.2597, allocations: 463 kB / 339.5 MB, free: 6.457 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2599, allocations: 68.67 kB / 339.6 MB, free: 6.387 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006419/0.2606, allocations: 350.9 kB / 339.9 MB, free: 6.043 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.2608, allocations: 163.4 kB / 340.1 MB, free: 5.883 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.2609, allocations: 12 kB / 340.1 MB, free: 5.871 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.261, allocations: 20 kB / 340.1 MB, free: 5.852 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2611, allocations: 71.78 kB / 340.2 MB, free: 5.781 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.2613, allocations: 93.56 kB / 340.3 MB, free: 5.684 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.2617, allocations: 328.5 kB / 340.6 MB, free: 5.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2617, allocations: 0 / 340.6 MB, free: 5.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.2617, allocations: 0 / 340.6 MB, free: 5.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.2617, allocations: 3.938 kB / 340.6 MB, free: 5.359 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001018/0.2628, allocations: 0.5224 MB / 341.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.2628, allocations: 8.031 kB / 341.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.2632, allocations: 43.61 kB / 341.2 MB, free: 4.738 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.2636, allocations: 262.6 kB / 341.4 MB, free: 4.441 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.2636, allocations: 16.56 kB / 341.4 MB, free: 4.426 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.2637, allocations: 27.91 kB / 341.5 MB, free: 4.398 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.2642, allocations: 307.6 kB / 341.8 MB, free: 4.066 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2642, allocations: 0 / 341.8 MB, free: 4.066 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.2642, allocations: 15.98 kB / 341.8 MB, free: 4.051 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2642, allocations: 7.938 kB / 341.8 MB, free: 4.043 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.2646, allocations: 201.5 kB / 342 MB, free: 3.848 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.2663, allocations: 1.425 MB / 343.4 MB, free: 2.305 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.2666, allocations: 179 kB / 343.6 MB, free: 2.121 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.2667, allocations: 8.266 kB / 343.6 MB, free: 2.113 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.2667, allocations: 34.75 kB / 343.6 MB, free: 2.07 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.2667, allocations: 0 / 343.6 MB, free: 2.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.002486/0.2692, allocations: 1.01 MB / 344.6 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2693, allocations: 55.41 kB / 344.7 MB, free: 0.918 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.2696, allocations: 258.5 kB / 344.9 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.2696, allocations: 29.7 kB / 345 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.2697, allocations: 184.2 kB / 345.1 MB, free: 448 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.2698, allocations: 86.73 kB / 345.2 MB, free: 360 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.2698, allocations: 8 kB / 345.2 MB, free: 352 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.27, allocations: 338.8 kB / 345.6 MB, free: 4 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2701, allocations: 87.75 kB / 345.7 MB, free: 15.92 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.2703, allocations: 186.8 kB / 345.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.2705, allocations: 108 kB / 345.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2706, allocations: 0 / 345.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006941/0.2713, allocations: 390.9 kB / 346.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2713, allocations: 8 kB / 346.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2713, allocations: 4 kB / 346.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.2716, allocations: 65.61 kB / 346.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.2719, allocations: 63.91 kB / 346.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.2742, allocations: 2.693 MB / 349.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.2745, allocations: 28 kB / 349.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.2745, allocations: 8 kB / 349.2 MB, free: 12.05 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.2747, allocations: 153.8 kB / 349.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.2747, allocations: 27.72 kB / 349.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.2748, allocations: 34.17 kB / 349.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2748, allocations: 7.953 kB / 349.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2749, allocations: 0 / 349.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006394/0.2755, allocations: 0.5631 MB / 350 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.2766, allocations: 0.6992 MB / 350.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2766, allocations: 4 kB / 350.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.2768, allocations: 47.86 kB / 350.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/0.2771, allocations: 64.8 kB / 350.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.2771, allocations: 8 kB / 350.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.2784, allocations: 1.405 MB / 352.2 MB, free: 8.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2784, allocations: 0 / 352.2 MB, free: 8.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.2791, allocations: 490.3 kB / 352.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.2792, allocations: 100.8 kB / 352.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.2793, allocations: 8 kB / 352.8 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.2795, allocations: 11.98 kB / 352.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.2796, allocations: 24.03 kB / 352.8 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.2796, allocations: 8 kB / 352.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.2798, allocations: 186 kB / 353 MB, free: 7.891 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2798, allocations: 0 / 353 MB, free: 7.891 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.2803, allocations: 88 kB / 353.1 MB, free: 7.805 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.2804, allocations: 103.2 kB / 353.2 MB, free: 7.695 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.2811, allocations: 473.7 kB / 353.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2812, allocations: 0 / 353.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.2815, allocations: 231.3 kB / 353.9 MB, free: 6.969 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.2824, allocations: 160.5 kB / 354 MB, free: 6.812 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2837, allocations: 0.8308 MB / 354.9 MB, free: 5.953 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.284, allocations: 0.7723 MB / 355.6 MB, free: 5.156 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002672/0.2843, allocations: 50.95 kB / 355.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.2844, allocations: 27.42 kB / 355.7 MB, free: 5.086 MB / 286.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2844, allocations: 4 kB / 355.7 MB, free: 5.082 MB / 286.1 MB Notification: Performance of Templates: time 0.009573/0.294, allocations: 5.254 MB / 361 MB, free: 15.83 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) Environment - environmentSimulation: