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.002615/0.002615, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.00119/0.00119, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.518e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9947/1.1, allocations: 265 MB / 0.6193 GB, free: 57.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/1.101, allocations: 95.23 kB / 0.6194 GB, free: 57.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5552/1.656, allocations: 82.93 MB / 0.7004 GB, free: 126.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.656, allocations: 1.25 kB / 0.7004 GB, free: 126.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.934e-05/1.656, allocations: 9.719 kB / 0.7004 GB, free: 126.3 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.0009213/1.657, allocations: 0.5203 MB / 0.7009 GB, free: 125.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.657, allocations: 8.594 kB / 0.7009 GB, free: 125.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.854e-05/1.657, allocations: 60.14 kB / 0.701 GB, free: 125.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/1.658, allocations: 39.23 kB / 0.701 GB, free: 125.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/1.658, allocations: 285.6 kB / 0.7013 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/1.658, allocations: 21.5 kB / 0.7013 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/1.658, allocations: 27.17 kB / 0.7014 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00078/1.659, allocations: 308.4 kB / 0.7017 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/1.659, allocations: 0 / 0.7017 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/1.659, allocations: 12.67 kB / 0.7017 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/1.659, allocations: 9.641 kB / 0.7017 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/1.66, allocations: 181.2 kB / 0.7019 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/1.663, allocations: 1.729 MB / 0.7035 GB, free: 124.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/1.663, allocations: 133.2 kB / 0.7037 GB, free: 124.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/1.663, allocations: 62.94 kB / 0.7037 GB, free: 124.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.663, allocations: 174 kB / 0.7039 GB, free: 124 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/1.663, allocations: 38.33 kB / 0.7039 GB, free: 124 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.337e-06/1.663, allocations: 0 / 0.7039 GB, free: 124 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.002584/1.666, allocations: 0.6755 MB / 0.7046 GB, free: 123.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.666, allocations: 53.69 kB / 0.7046 GB, free: 123.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/1.667, allocations: 254.7 kB / 0.7049 GB, free: 123.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/1.667, allocations: 27.08 kB / 0.7049 GB, free: 123.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/1.667, allocations: 260.4 kB / 0.7052 GB, free: 123.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/1.667, allocations: 73.67 kB / 0.7052 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/1.667, allocations: 5.188 kB / 0.7052 GB, free: 123.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/1.667, allocations: 324.5 kB / 0.7055 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/1.667, allocations: 61.28 kB / 0.7056 GB, free: 122.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/1.667, allocations: 187.6 kB / 0.7058 GB, free: 122.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/1.668, allocations: 101.2 kB / 0.7059 GB, free: 122.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.668, allocations: 0 / 0.7059 GB, free: 122.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008383/1.669, allocations: 318.1 kB / 0.7062 GB, free: 122.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.669, allocations: 10.98 kB / 0.7062 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.669, allocations: 4.125 kB / 0.7062 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/1.669, allocations: 26.48 kB / 0.7062 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/1.669, allocations: 82.73 kB / 0.7063 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/1.671, allocations: 1.293 MB / 0.7076 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/1.671, allocations: 23.45 kB / 0.7076 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/1.671, allocations: 17.19 kB / 0.7076 GB, free: 121.5 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 () * 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.0001586/1.671, allocations: 130.7 kB / 0.7077 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/1.672, allocations: 29.17 kB / 0.7078 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000641/1.672, allocations: 207.3 kB / 0.7079 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.672, allocations: 3.031 kB / 0.708 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.672, allocations: 0 / 0.708 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004852/1.673, allocations: 483.8 kB / 0.7084 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/1.675, allocations: 0.7685 MB / 0.7092 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.675, allocations: 3.156 kB / 0.7092 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/1.675, allocations: 45.72 kB / 0.7092 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/1.675, allocations: 4.438 kB / 0.7092 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.675, allocations: 7.781 kB / 0.7092 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/1.675, allocations: 5.25 kB / 0.7092 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.675, allocations: 5.094 kB / 0.7092 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/1.676, allocations: 499 kB / 0.7097 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/1.676, allocations: 109.1 kB / 0.7098 GB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/1.676, allocations: 7.922 kB / 0.7098 GB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/1.677, allocations: 18.03 kB / 0.7098 GB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/1.677, allocations: 17.62 kB / 0.7099 GB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/1.677, allocations: 17.31 kB / 0.7099 GB, free: 119.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003496/1.677, allocations: 201.1 kB / 0.7101 GB, free: 119.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.677, allocations: 0 / 0.7101 GB, free: 119.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008296/1.678, allocations: 112.1 kB / 0.7102 GB, free: 119.8 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 () * 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.001536/1.679, allocations: 1.779 MB / 0.7119 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008139/1.68, allocations: 299.3 kB / 0.7122 GB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.68, allocations: 1.531 kB / 0.7122 GB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/1.681, allocations: 71.66 kB / 0.7123 GB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/1.682, allocations: 156.4 kB / 0.7124 GB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/1.684, allocations: 0.5383 MB / 0.7129 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/1.684, allocations: 0.77 MB / 0.7137 GB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/1.685, allocations: 91.84 kB / 0.7138 GB, free: 117.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/1.685, allocations: 2.156 kB / 0.7138 GB, free: 117.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.774/4.459, allocations: 7.107 MB / 0.7207 GB, free: 116.9 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