Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001736/0.001736, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002144, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.544/1.544, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.002424/0.002424, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3057, allocations: 46.64 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.02396/0.3297, allocations: 15.84 MB / 341.2 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.3332, allocations: 1.908 MB / 343.1 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.3338, allocations: 7.938 kB / 343.1 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.3347, allocations: 171 kB / 343.2 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009541/0.3357, allocations: 310.2 kB / 343.6 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.3365, allocations: 291.4 kB / 343.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000971/0.3375, allocations: 0.8407 MB / 344.7 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.3377, allocations: 96.67 kB / 344.8 MB, free: 452 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.3388, allocations: 0.4981 MB / 345.3 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.3392, allocations: 274.9 kB / 345.5 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.3392, allocations: 32 kB / 345.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.3394, allocations: 39.98 kB / 345.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.3395, allocations: 83.73 kB / 345.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.3397, allocations: 187.3 kB / 345.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.3403, allocations: 436 kB / 346.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3403, allocations: 0 / 346.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3403, allocations: 0 / 346.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3403, allocations: 4 kB / 346.3 MB, free: 14.91 MB / 286.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.001081/0.3414, allocations: 0.5771 MB / 346.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3415, allocations: 11.97 kB / 346.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.3418, allocations: 48.55 kB / 346.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.3422, allocations: 283.7 kB / 347.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3422, allocations: 16.94 kB / 347.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.3423, allocations: 24.38 kB / 347.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.3427, allocations: 307.8 kB / 347.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3428, allocations: 4 kB / 347.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3428, allocations: 12 kB / 347.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3428, allocations: 8 kB / 347.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.3432, allocations: 197.5 kB / 347.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.3449, allocations: 1.444 MB / 349.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.3452, allocations: 174.6 kB / 349.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.3454, allocations: 88.83 kB / 349.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3454, allocations: 4 kB / 349.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.3455, allocations: 42.56 kB / 349.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.3455, allocations: 0 / 349.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002569/0.348, allocations: 0.9958 MB / 350.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3481, allocations: 55.41 kB / 350.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3484, allocations: 262.5 kB / 350.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.3484, allocations: 29.7 kB / 350.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3485, allocations: 184.2 kB / 351 MB, free: 9.809 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.3486, allocations: 90.66 kB / 351.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.843e-05/0.3487, allocations: 69.39 kB / 351.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3488, allocations: 334.8 kB / 351.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.349, allocations: 87.95 kB / 351.6 MB, free: 9.223 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3492, allocations: 186.8 kB / 351.8 MB, free: 9 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.3496, allocations: 283 kB / 352.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3496, allocations: 8 kB / 352.1 MB, free: 8.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006482/0.3503, allocations: 370.7 kB / 352.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3503, allocations: 8.375 kB / 352.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.3503, allocations: 8 kB / 352.4 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.3506, allocations: 65.59 kB / 352.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.3509, allocations: 75.91 kB / 352.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.3534, allocations: 2.871 MB / 355.5 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.3537, allocations: 16.08 kB / 355.5 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.3537, allocations: 15.98 kB / 355.5 MB, free: 4.957 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.3539, allocations: 157.7 kB / 355.6 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.354, allocations: 23.72 kB / 355.7 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.516e-05/0.354, allocations: 42.23 kB / 355.7 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.354, allocations: 4 kB / 355.7 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3541, allocations: 0 / 355.7 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006253/0.3547, allocations: 0.5631 MB / 356.3 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.3557, allocations: 0.6989 MB / 357 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3558, allocations: 4.031 kB / 357 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.356, allocations: 47.92 kB / 357 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.3562, allocations: 52.78 kB / 357.1 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.3562, allocations: 4 kB / 357.1 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.3574, allocations: 1.496 MB / 358.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3574, allocations: 0 / 358.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.3581, allocations: 473.2 kB / 359 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.3581, allocations: 104.8 kB / 359.1 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.3582, allocations: 8 kB / 359.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3584, allocations: 8.125 kB / 359.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.3584, allocations: 15.97 kB / 359.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.3585, allocations: 15.98 kB / 359.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.3587, allocations: 185.9 kB / 359.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3587, allocations: 0 / 359.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.3591, allocations: 88 kB / 359.5 MB, free: 0.6445 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.3592, allocations: 107.2 kB / 359.6 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007924/0.36, allocations: 485.3 kB / 360 MB, free: 32 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.36, allocations: 4.688 kB / 360 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.3604, allocations: 246.4 kB / 360.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000996/0.3614, allocations: 164.2 kB / 360.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3627, allocations: 0.6796 MB / 361.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.363, allocations: 0.7683 MB / 361.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.3633, allocations: 50.95 kB / 361.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.3634, allocations: 27.42 kB / 362 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3634, allocations: 0 / 362 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Templates: time 0.0102/0.3736, allocations: 5.675 MB / 367.6 MB, free: 8.363 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)