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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001923/0.001924, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.256/1.256, allocations: 170.6 MB / 183.8 MB, free: 11.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001588/0.001588, allocations: 107.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.711e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0766/0.07664, allocations: 38.77 MB / 307.7 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9588/1.036, allocations: 357.2 MB / 0.6493 GB, free: 102.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.036, allocations: 88.06 kB / 0.6494 GB, free: 102.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1466/1.182, allocations: 80.92 MB / 0.7284 GB, free: 27.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/1.182, allocations: 0 / 0.7284 GB, free: 27.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/1.183, allocations: 8 kB / 0.7284 GB, free: 27.27 MB / 362.7 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.0009226/1.183, allocations: 0.5898 MB / 0.729 GB, free: 26.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.184, allocations: 8.031 kB / 0.729 GB, free: 26.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/1.184, allocations: 39.62 kB / 0.729 GB, free: 26.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/1.184, allocations: 286.4 kB / 0.7293 GB, free: 26.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/1.184, allocations: 20.56 kB / 0.7293 GB, free: 26.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/1.184, allocations: 27.95 kB / 0.7293 GB, free: 26.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/1.185, allocations: 287.8 kB / 0.7296 GB, free: 25.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/1.185, allocations: 7.938 kB / 0.7296 GB, free: 25.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/1.185, allocations: 8 kB / 0.7296 GB, free: 25.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/1.185, allocations: 8 kB / 0.7296 GB, free: 25.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/1.185, allocations: 193.6 kB / 0.7298 GB, free: 25.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/1.186, allocations: 1.436 MB / 0.7312 GB, free: 24.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/1.187, allocations: 171.3 kB / 0.7314 GB, free: 23.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/1.187, allocations: 85.23 kB / 0.7315 GB, free: 23.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/1.187, allocations: 8.172 kB / 0.7315 GB, free: 23.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.187, allocations: 42.64 kB / 0.7315 GB, free: 23.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/1.187, allocations: 0 / 0.7315 GB, free: 23.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002106/1.189, allocations: 0.8533 MB / 0.7323 GB, free: 22.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/1.189, allocations: 63.3 kB / 0.7324 GB, free: 22.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/1.189, allocations: 234.8 kB / 0.7326 GB, free: 22.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/1.189, allocations: 33.7 kB / 0.7327 GB, free: 22.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/1.189, allocations: 175.9 kB / 0.7328 GB, free: 22.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/1.189, allocations: 94.64 kB / 0.7329 GB, free: 22.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/1.189, allocations: 8 kB / 0.7329 GB, free: 22.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/1.189, allocations: 334.8 kB / 0.7332 GB, free: 21.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/1.19, allocations: 83.78 kB / 0.7333 GB, free: 21.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/1.19, allocations: 174.9 kB / 0.7335 GB, free: 21.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/1.19, allocations: 116.3 kB / 0.7336 GB, free: 21.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.19, allocations: 0 / 0.7336 GB, free: 21.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005735/1.191, allocations: 382.7 kB / 0.734 GB, free: 21.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.191, allocations: 4 kB / 0.734 GB, free: 21.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.191, allocations: 4 kB / 0.734 GB, free: 21.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/1.191, allocations: 66.05 kB / 0.734 GB, free: 21.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/1.191, allocations: 67.91 kB / 0.7341 GB, free: 21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/1.193, allocations: 2.67 MB / 0.7367 GB, free: 18.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/1.193, allocations: 20.05 kB / 0.7367 GB, free: 18.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/1.193, allocations: 16 kB / 0.7367 GB, free: 18.02 MB / 362.7 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 () * 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 9.319e-05/1.193, allocations: 124.9 kB / 0.7369 GB, free: 17.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/1.193, allocations: 27.72 kB / 0.7369 GB, free: 17.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.525e-05/1.193, allocations: 41.89 kB / 0.7369 GB, free: 17.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1.193, allocations: 4 kB / 0.7369 GB, free: 17.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.193, allocations: 0 / 0.7369 GB, free: 17.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004792/1.194, allocations: 0.5474 MB / 0.7375 GB, free: 17.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008564/1.195, allocations: 0.7031 MB / 0.7382 GB, free: 16.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.195, allocations: 0 / 0.7382 GB, free: 16.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/1.195, allocations: 51.92 kB / 0.7382 GB, free: 16.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/1.195, allocations: 52.73 kB / 0.7383 GB, free: 16.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/1.195, allocations: 4 kB / 0.7383 GB, free: 16.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007957/1.196, allocations: 1.386 MB / 0.7396 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.196, allocations: 0 / 0.7396 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/1.197, allocations: 490.9 kB / 0.7401 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/1.197, allocations: 96.86 kB / 0.7402 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/1.197, allocations: 4 kB / 0.7402 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/1.197, allocations: 23.98 kB / 0.7402 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/1.197, allocations: 23.91 kB / 0.7402 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/1.197, allocations: 8 kB / 0.7402 GB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001427/1.197, allocations: 183.1 kB / 0.7404 GB, free: 13.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.197, allocations: 0 / 0.7404 GB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004505/1.198, allocations: 104 kB / 0.7405 GB, free: 13.83 MB / 362.7 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 () * 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.0002453/1.198, allocations: 147.3 kB / 0.7406 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006364/1.198, allocations: 473.5 kB / 0.7411 GB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.198, allocations: 0 / 0.7411 GB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/1.199, allocations: 230.5 kB / 0.7413 GB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/1.2, allocations: 158.8 kB / 0.7415 GB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/1.2, allocations: 497.4 kB / 0.7419 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/1.201, allocations: 0.7725 MB / 0.7427 GB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002797/1.201, allocations: 50.89 kB / 0.7427 GB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/1.201, allocations: 31.44 kB / 0.7428 GB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/1.201, allocations: 0 / 0.7428 GB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.009732/1.211, allocations: 6.006 MB / 0.7486 GB, free: 5.402 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (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)