Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 157.7 kB / 7.633 MB, free: 1.445 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.276/1.276, allocations: 170.6 MB / 178.7 MB, free: 7.047 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.001665/0.001665, allocations: 107.4 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.504e-05, allocations: 4 kB / 262.2 MB, free: 3.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 38.77 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.6124, allocations: 254.9 MB / 0.5429 GB, free: 1.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.6127, allocations: 83.95 kB / 0.543 GB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3223/0.935, allocations: 83.65 MB / 0.6247 GB, free: 61.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.9351, allocations: 4 kB / 0.6247 GB, free: 61.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.9351, allocations: 4 kB / 0.6247 GB, free: 61.02 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.0006118/0.9357, allocations: 0.5106 MB / 0.6252 GB, free: 60.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9358, allocations: 12.03 kB / 0.6252 GB, free: 60.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.936, allocations: 39.62 kB / 0.6252 GB, free: 60.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.9364, allocations: 278.8 kB / 0.6255 GB, free: 60.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.9364, allocations: 8 kB / 0.6255 GB, free: 60.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.9364, allocations: 23.89 kB / 0.6255 GB, free: 60.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002751/0.9367, allocations: 157.1 kB / 0.6257 GB, free: 59.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.9371, allocations: 264.3 kB / 0.6259 GB, free: 59.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.9371, allocations: 3.938 kB / 0.6259 GB, free: 59.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.9372, allocations: 0 / 0.6259 GB, free: 59.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.9372, allocations: 12 kB / 0.6259 GB, free: 59.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.9387, allocations: 1.658 MB / 0.6275 GB, free: 57.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.9389, allocations: 126.6 kB / 0.6277 GB, free: 57.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.939, allocations: 64.84 kB / 0.6277 GB, free: 57.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.9391, allocations: 170.2 kB / 0.6279 GB, free: 57.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.9392, allocations: 38.55 kB / 0.6279 GB, free: 57.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.9392, allocations: 0 / 0.6279 GB, free: 57.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001218/0.9404, allocations: 0.5851 MB / 0.6285 GB, free: 56.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.9405, allocations: 55.59 kB / 0.6285 GB, free: 56.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.9406, allocations: 208.4 kB / 0.6287 GB, free: 56.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.9407, allocations: 25.7 kB / 0.6288 GB, free: 56.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.9408, allocations: 211.4 kB / 0.629 GB, free: 56.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.9408, allocations: 67.02 kB / 0.629 GB, free: 56.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.9408, allocations: 0 / 0.629 GB, free: 56.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.9409, allocations: 338.8 kB / 0.6294 GB, free: 55.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.941, allocations: 52 kB / 0.6294 GB, free: 55.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.9411, allocations: 184 kB / 0.6296 GB, free: 55.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.9413, allocations: 96.02 kB / 0.6297 GB, free: 55.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9413, allocations: 7.938 kB / 0.6297 GB, free: 55.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004243/0.9418, allocations: 287.1 kB / 0.63 GB, free: 55.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.9418, allocations: 4 kB / 0.63 GB, free: 55.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.9418, allocations: 7.984 kB / 0.63 GB, free: 55.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/0.9419, allocations: 25.36 kB / 0.63 GB, free: 55.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.9422, allocations: 91.83 kB / 0.6301 GB, free: 55.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006894/0.9429, allocations: 1.233 MB / 0.6313 GB, free: 53.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.9431, allocations: 20.05 kB / 0.6313 GB, free: 53.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.9432, allocations: 19.95 kB / 0.6313 GB, free: 53.62 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: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.9433, allocations: 116.7 kB / 0.6314 GB, free: 53.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.9434, allocations: 27.66 kB / 0.6315 GB, free: 53.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.9437, allocations: 196.7 kB / 0.6316 GB, free: 53.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.9437, allocations: 4 kB / 0.6317 GB, free: 53.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.9437, allocations: 0 / 0.6317 GB, free: 53.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002661/0.944, allocations: 475.7 kB / 0.6321 GB, free: 52.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/0.9448, allocations: 0.7025 MB / 0.6328 GB, free: 51.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9448, allocations: 0 / 0.6328 GB, free: 51.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.945, allocations: 47.91 kB / 0.6328 GB, free: 51.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.945, allocations: 4 kB / 0.6328 GB, free: 51.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.9451, allocations: 8 kB / 0.6328 GB, free: 51.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.9451, allocations: 4.281 kB / 0.6329 GB, free: 51.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9451, allocations: 11.94 kB / 0.6329 GB, free: 51.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.9455, allocations: 482.2 kB / 0.6333 GB, free: 51.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.9455, allocations: 100.8 kB / 0.6334 GB, free: 51.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.9456, allocations: 4 kB / 0.6334 GB, free: 51.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.9458, allocations: 11.98 kB / 0.6334 GB, free: 51.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.9458, allocations: 24 kB / 0.6335 GB, free: 51.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.9459, allocations: 15.98 kB / 0.6335 GB, free: 51.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.946, allocations: 160.5 kB / 0.6336 GB, free: 50.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.946, allocations: 0 / 0.6336 GB, free: 50.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004912/0.9465, allocations: 107.9 kB / 0.6337 GB, free: 50.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0003426/0.9468, allocations: 232.5 kB / 0.634 GB, free: 50.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.9472, allocations: 273.4 kB / 0.6342 GB, free: 50.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9473, allocations: 0 / 0.6342 GB, free: 50.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.9473, allocations: 67.86 kB / 0.6343 GB, free: 50.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.948, allocations: 106.8 kB / 0.6344 GB, free: 50.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.9487, allocations: 422.2 kB / 0.6348 GB, free: 49.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.9489, allocations: 0.7715 MB / 0.6355 GB, free: 48.9 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002272/0.9491, allocations: 63.25 kB / 0.6356 GB, free: 48.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.9492, allocations: 23.44 kB / 0.6356 GB, free: 48.82 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.9492, allocations: 0 / 0.6356 GB, free: 48.82 MB / 346.7 MB Notification: Performance of Templates: time 0.008072/0.9572, allocations: 4.982 MB / 0.6405 GB, free: 43.86 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)