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.001585/0.001585, allocations: 166.2 kB / 7.642 MB, free: 1.406 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.367/1.367, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001569/0.001569, allocations: 107.5 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.527e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 38.78 MB / 301 MB, free: 3.609 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9519/1.055, allocations: 356.5 MB / 0.6421 GB, free: 70.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.056, allocations: 84.83 kB / 0.6422 GB, free: 70.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3277/1.383, allocations: 80.62 MB / 0.7209 GB, free: 94.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.383, allocations: 0 / 0.7209 GB, free: 94.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/1.383, allocations: 10.5 kB / 0.721 GB, free: 94.61 MB / 346.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.001044/1.384, allocations: 0.5907 MB / 0.7215 GB, free: 94.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.384, allocations: 8.812 kB / 0.7215 GB, free: 94.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/1.385, allocations: 41.03 kB / 0.7216 GB, free: 94.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/1.385, allocations: 278 kB / 0.7218 GB, free: 94.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.385, allocations: 7.469 kB / 0.7219 GB, free: 94.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/1.385, allocations: 20.56 kB / 0.7219 GB, free: 94.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003401/1.386, allocations: 166.3 kB / 0.722 GB, free: 94.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/1.386, allocations: 271.5 kB / 0.7223 GB, free: 93.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.386, allocations: 0.9844 kB / 0.7223 GB, free: 93.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/1.386, allocations: 0 / 0.7223 GB, free: 93.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.386, allocations: 9.844 kB / 0.7223 GB, free: 93.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/1.387, allocations: 1.372 MB / 0.7236 GB, free: 92.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/1.388, allocations: 163.8 kB / 0.7238 GB, free: 92.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/1.388, allocations: 81.64 kB / 0.7239 GB, free: 92.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/1.388, allocations: 3.594 kB / 0.7239 GB, free: 92.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/1.388, allocations: 37.95 kB / 0.7239 GB, free: 92.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/1.388, allocations: 0 / 0.7239 GB, free: 92.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001837/1.39, allocations: 0.7506 MB / 0.7246 GB, free: 92.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/1.39, allocations: 54.66 kB / 0.7247 GB, free: 92.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/1.39, allocations: 194.8 kB / 0.7249 GB, free: 92.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/1.39, allocations: 25.7 kB / 0.7249 GB, free: 92.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/1.39, allocations: 189.1 kB / 0.7251 GB, free: 92.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/1.39, allocations: 82.52 kB / 0.7252 GB, free: 92.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/1.39, allocations: 3.188 kB / 0.7252 GB, free: 92.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/1.39, allocations: 337.1 kB / 0.7255 GB, free: 91.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/1.391, allocations: 79.31 kB / 0.7256 GB, free: 91.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/1.391, allocations: 160.8 kB / 0.7257 GB, free: 91.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/1.391, allocations: 102.2 kB / 0.7258 GB, free: 91.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.391, allocations: 0 / 0.7258 GB, free: 91.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006566/1.392, allocations: 336.1 kB / 0.7261 GB, free: 91.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.392, allocations: 9.203 kB / 0.7261 GB, free: 91.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.392, allocations: 3 kB / 0.7262 GB, free: 91.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/1.392, allocations: 58.67 kB / 0.7262 GB, free: 91.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/1.392, allocations: 73.5 kB / 0.7263 GB, free: 91.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/1.394, allocations: 2.569 MB / 0.7288 GB, free: 89.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/1.394, allocations: 17.2 kB / 0.7288 GB, free: 89.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/1.394, allocations: 14.72 kB / 0.7288 GB, free: 89.31 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 0.0001557/1.395, allocations: 119.2 kB / 0.7289 GB, free: 89.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/1.395, allocations: 26.97 kB / 0.729 GB, free: 89.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.366e-05/1.395, allocations: 35.81 kB / 0.729 GB, free: 89.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.395, allocations: 3.906 kB / 0.729 GB, free: 89.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.395, allocations: 3.953 kB / 0.729 GB, free: 89.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004839/1.395, allocations: 0.5396 MB / 0.7295 GB, free: 88.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008602/1.396, allocations: 0.6359 MB / 0.7301 GB, free: 88.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.396, allocations: 3.891 kB / 0.7301 GB, free: 88.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/1.396, allocations: 41.19 kB / 0.7302 GB, free: 88.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/1.396, allocations: 53.47 kB / 0.7302 GB, free: 88.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/1.397, allocations: 9.266 kB / 0.7302 GB, free: 88.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008793/1.397, allocations: 1.326 MB / 0.7315 GB, free: 87.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.397, allocations: 3.625 kB / 0.7315 GB, free: 87.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/1.398, allocations: 446.8 kB / 0.732 GB, free: 87.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/1.398, allocations: 103.1 kB / 0.7321 GB, free: 86.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/1.398, allocations: 3.953 kB / 0.7321 GB, free: 86.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/1.398, allocations: 10.12 kB / 0.7321 GB, free: 86.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/1.398, allocations: 23.59 kB / 0.7321 GB, free: 86.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/1.398, allocations: 11.47 kB / 0.7321 GB, free: 86.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001144/1.398, allocations: 152.9 kB / 0.7323 GB, free: 86.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.398, allocations: 0 / 0.7323 GB, free: 86.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000518/1.399, allocations: 104 kB / 0.7324 GB, free: 86.86 MB / 346.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.0002722/1.399, allocations: 161.5 kB / 0.7325 GB, free: 86.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006257/1.4, allocations: 442.1 kB / 0.7329 GB, free: 86.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.4, allocations: 1.406 kB / 0.7329 GB, free: 86.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003803/1.4, allocations: 215.7 kB / 0.7331 GB, free: 86.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/1.401, allocations: 120 kB / 0.7333 GB, free: 86.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/1.402, allocations: 476.6 kB / 0.7337 GB, free: 86.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/1.402, allocations: 0.7697 MB / 0.7345 GB, free: 85.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002698/1.403, allocations: 48.94 kB / 0.7345 GB, free: 85.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/1.403, allocations: 23.5 kB / 0.7345 GB, free: 85.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/1.403, allocations: 8.672 kB / 0.7345 GB, free: 85.59 MB / 346.7 MB Notification: Performance of Templates: time 0.009257/1.412, allocations: 4.958 MB / 0.7394 GB, free: 85.45 MB / 346.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)