Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001663/0.001663, allocations: 182.2 kB / 17.02 MB, free: 5.121 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.502/1.502, allocations: 205.4 MB / 223.1 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.0009072/0.0009073, allocations: 94.91 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002736, allocations: 4 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2754, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4888/0.7642, allocations: 265.1 MB / 0.626 GB, free: 7.723 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.7645, allocations: 100.4 kB / 0.6261 GB, free: 7.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3265/1.091, allocations: 83.34 MB / 0.7075 GB, free: 120 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.091, allocations: 0 / 0.7075 GB, free: 120 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/1.091, allocations: 8 kB / 0.7075 GB, free: 120 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.0006598/1.092, allocations: 0.5505 MB / 0.708 GB, free: 119.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.092, allocations: 11.97 kB / 0.708 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/1.092, allocations: 66.53 kB / 0.7081 GB, free: 119.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/1.092, allocations: 43.61 kB / 0.7081 GB, free: 119.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/1.092, allocations: 278.8 kB / 0.7084 GB, free: 119 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/1.093, allocations: 16.56 kB / 0.7084 GB, free: 118.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/1.093, allocations: 27.95 kB / 0.7085 GB, free: 118.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/1.093, allocations: 309.4 kB / 0.7087 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.093, allocations: 4 kB / 0.7088 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/1.093, allocations: 12 kB / 0.7088 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.093, allocations: 4 kB / 0.7088 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/1.093, allocations: 185.5 kB / 0.7089 GB, free: 118.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/1.095, allocations: 1.733 MB / 0.7106 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/1.095, allocations: 130.5 kB / 0.7108 GB, free: 116.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/1.095, allocations: 174.2 kB / 0.7109 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.095, allocations: 30.56 kB / 0.711 GB, free: 116.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/1.095, allocations: 0 / 0.711 GB, free: 116.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001568/1.097, allocations: 0.8024 MB / 0.7117 GB, free: 115.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/1.097, allocations: 55.59 kB / 0.7118 GB, free: 115.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/1.097, allocations: 249.8 kB / 0.712 GB, free: 114.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.097, allocations: 29.64 kB / 0.7121 GB, free: 114.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/1.097, allocations: 195.6 kB / 0.7122 GB, free: 114.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/1.097, allocations: 78.91 kB / 0.7123 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/1.097, allocations: 4 kB / 0.7123 GB, free: 114.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/1.097, allocations: 342.8 kB / 0.7127 GB, free: 114.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/1.097, allocations: 67.97 kB / 0.7127 GB, free: 114.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/1.097, allocations: 183.4 kB / 0.7129 GB, free: 114 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/1.097, allocations: 108 kB / 0.713 GB, free: 113.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.098, allocations: 0 / 0.713 GB, free: 113.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003841/1.098, allocations: 326.3 kB / 0.7133 GB, free: 113.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.098, allocations: 11.94 kB / 0.7133 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.098, allocations: 4 kB / 0.7133 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.181e-05/1.098, allocations: 24.84 kB / 0.7133 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/1.098, allocations: 87.83 kB / 0.7134 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007357/1.099, allocations: 1.3 MB / 0.7147 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/1.099, allocations: 23.84 kB / 0.7147 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/1.099, allocations: 12 kB / 0.7147 GB, free: 111.9 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.0001305/1.099, allocations: 173.8 kB / 0.7149 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/1.099, allocations: 23.72 kB / 0.7149 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/1.1, allocations: 196.7 kB / 0.7151 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.1, allocations: 0 / 0.7151 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.1, allocations: 4 kB / 0.7151 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002404/1.1, allocations: 487.7 kB / 0.7156 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/1.101, allocations: 0.7721 MB / 0.7163 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.101, allocations: 4.219 kB / 0.7163 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/1.101, allocations: 47.98 kB / 0.7164 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/1.101, allocations: 11.89 kB / 0.7164 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.101, allocations: 8 kB / 0.7164 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/1.101, allocations: 11.92 kB / 0.7164 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.101, allocations: 0 / 0.7164 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/1.102, allocations: 494.2 kB / 0.7169 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/1.102, allocations: 112.8 kB / 0.717 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/1.102, allocations: 8 kB / 0.717 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/1.102, allocations: 16.05 kB / 0.717 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/1.102, allocations: 19.94 kB / 0.717 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/1.102, allocations: 19.98 kB / 0.7171 GB, free: 109.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001391/1.102, allocations: 194 kB / 0.7172 GB, free: 109 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.102, allocations: 0 / 0.7172 GB, free: 109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004535/1.103, allocations: 112 kB / 0.7173 GB, free: 108.9 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.0008671/1.103, allocations: 1.79 MB / 0.7191 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004163/1.104, allocations: 307 kB / 0.7194 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.104, allocations: 0 / 0.7194 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/1.104, allocations: 71.84 kB / 0.7195 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/1.105, allocations: 158.3 kB / 0.7196 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/1.107, allocations: 4.301 MB / 0.7238 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/1.107, allocations: 0.7719 MB / 0.7246 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002668/1.108, allocations: 63.2 kB / 0.7246 GB, free: 101.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/1.108, allocations: 87.41 kB / 0.7247 GB, free: 101.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/1.108, allocations: 0 / 0.7247 GB, free: 101.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/1.131, allocations: 9.735 MB / 0.7342 GB, free: 91.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.131, allocations: 249.8 kB / 0.7344 GB, free: 91.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/3.265, allocations: 3.938 kB / 0.7344 GB, free: 91.14 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat