Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 88.42 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004148, allocations: 8 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3294, allocations: 47.57 MB / 374.6 MB, free: 45.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7007/1.03, allocations: 265.1 MB / 0.6248 GB, free: 7.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003837/1.03, allocations: 103.6 kB / 0.6249 GB, free: 7.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5297/1.56, allocations: 83.35 MB / 0.7062 GB, free: 119.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/1.56, allocations: 0 / 0.7062 GB, free: 119.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/1.56, allocations: 4 kB / 0.7062 GB, free: 119.7 MB / 426.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.0009167/1.561, allocations: 0.5508 MB / 0.7068 GB, free: 119.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.561, allocations: 8.031 kB / 0.7068 GB, free: 119.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.959e-05/1.561, allocations: 66.47 kB / 0.7069 GB, free: 119 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/1.562, allocations: 39.62 kB / 0.7069 GB, free: 119 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/1.562, allocations: 278.5 kB / 0.7072 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/1.562, allocations: 20.56 kB / 0.7072 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/1.562, allocations: 27.95 kB / 0.7072 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/1.563, allocations: 309.4 kB / 0.7075 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.563, allocations: 7.938 kB / 0.7075 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.225e-05/1.563, allocations: 12 kB / 0.7075 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.563, allocations: 8 kB / 0.7075 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/1.563, allocations: 177.5 kB / 0.7077 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/1.566, allocations: 1.729 MB / 0.7094 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/1.566, allocations: 130.5 kB / 0.7095 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/1.566, allocations: 166.2 kB / 0.7097 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/1.566, allocations: 38.56 kB / 0.7097 GB, free: 115.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/1.566, allocations: 7.938 kB / 0.7097 GB, free: 115.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.002486/1.569, allocations: 0.8019 MB / 0.7105 GB, free: 115 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/1.569, allocations: 51.59 kB / 0.7105 GB, free: 114.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/1.569, allocations: 245.8 kB / 0.7108 GB, free: 114.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/1.569, allocations: 37.69 kB / 0.7108 GB, free: 114.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.569, allocations: 254 kB / 0.7111 GB, free: 114.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/1.569, allocations: 70.92 kB / 0.7111 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/1.569, allocations: 12 kB / 0.7111 GB, free: 114.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/1.57, allocations: 326.8 kB / 0.7115 GB, free: 114 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/1.57, allocations: 67.97 kB / 0.7115 GB, free: 113.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/1.57, allocations: 191.3 kB / 0.7117 GB, free: 113.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/1.57, allocations: 104 kB / 0.7118 GB, free: 113.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.57, allocations: 0 / 0.7118 GB, free: 113.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006706/1.571, allocations: 309.9 kB / 0.7121 GB, free: 113.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.571, allocations: 8 kB / 0.7121 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.571, allocations: 7.938 kB / 0.7121 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/1.571, allocations: 25.34 kB / 0.7121 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/1.572, allocations: 91.89 kB / 0.7122 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/1.573, allocations: 1.295 MB / 0.7135 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/1.573, allocations: 24.19 kB / 0.7135 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/1.573, allocations: 16 kB / 0.7135 GB, free: 111.6 MB / 426.7 MB 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 () * Number of clocked 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.0002295/1.573, allocations: 153.7 kB / 0.7137 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/1.574, allocations: 31.72 kB / 0.7137 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/1.574, allocations: 203.2 kB / 0.7139 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.574, allocations: 8 kB / 0.7139 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/1.574, allocations: 0 / 0.7139 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004095/1.574, allocations: 491.9 kB / 0.7144 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/1.576, allocations: 0.7721 MB / 0.7151 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.576, allocations: 4 kB / 0.7151 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/1.576, allocations: 43.92 kB / 0.7152 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/1.576, allocations: 7.953 kB / 0.7152 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/1.576, allocations: 7.938 kB / 0.7152 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.576, allocations: 7.984 kB / 0.7152 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.576, allocations: 4.281 kB / 0.7152 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/1.577, allocations: 0.4943 MB / 0.7157 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.577, allocations: 104.8 kB / 0.7158 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.317e-05/1.577, allocations: 4 kB / 0.7158 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/1.578, allocations: 15.98 kB / 0.7158 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/1.578, allocations: 27.88 kB / 0.7158 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/1.578, allocations: 16.05 kB / 0.7158 GB, free: 108.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002567/1.578, allocations: 198 kB / 0.716 GB, free: 108.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.578, allocations: 0 / 0.716 GB, free: 108.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006905/1.579, allocations: 115.9 kB / 0.7161 GB, free: 108.6 MB / 426.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 () * Number of clocked 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.001239/1.58, allocations: 1.768 MB / 0.7179 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006794/1.581, allocations: 310.8 kB / 0.7182 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/1.581, allocations: 7.938 kB / 0.7182 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/1.581, allocations: 76.84 kB / 0.7182 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.582, allocations: 156 kB / 0.7184 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/1.586, allocations: 4.334 MB / 0.7226 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/1.586, allocations: 0.7719 MB / 0.7234 GB, free: 100.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/1.586, allocations: 95.39 kB / 0.7235 GB, free: 100.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/1.586, allocations: 3.938 kB / 0.7235 GB, free: 100.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.812/4.398, allocations: 7.158 MB / 0.7305 GB, free: 93.69 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat