Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 174.1 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.699/1.699, allocations: 223.2 MB / 0.7948 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 91.97 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8.25 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.505, allocations: 450.2 MB / 1.663 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/1.505, allocations: 83.97 kB / 1.663 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.2342/1.739, allocations: 87.54 MB / 1.748 GB, free: 10.79 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.044e-06/1.74, allocations: 0 / 1.748 GB, free: 10.79 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.74, allocations: 4 kB / 1.748 GB, free: 10.78 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.003234/1.743, allocations: 0.7575 MB / 1.749 GB, free: 9.992 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/1.743, allocations: 8.031 kB / 1.749 GB, free: 9.984 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.387e-05/1.743, allocations: 50.17 kB / 1.749 GB, free: 9.934 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/1.743, allocations: 31.06 kB / 1.749 GB, free: 9.906 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/1.743, allocations: 214.6 kB / 1.749 GB, free: 9.668 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/1.744, allocations: 8.203 kB / 1.749 GB, free: 9.664 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/1.744, allocations: 19.48 kB / 1.749 GB, free: 9.648 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/1.744, allocations: 243 kB / 1.749 GB, free: 9.453 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.744, allocations: 7.984 kB / 1.749 GB, free: 9.445 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/1.744, allocations: 3.562 kB / 1.749 GB, free: 9.445 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/1.744, allocations: 15.95 kB / 1.749 GB, free: 9.43 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/1.745, allocations: 424.3 kB / 1.75 GB, free: 9.086 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.746, allocations: 1.019 MB / 1.751 GB, free: 8.094 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/1.746, allocations: 166 kB / 1.751 GB, free: 7.953 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/1.748, allocations: 1.845 MB / 1.753 GB, free: 5.801 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.748, allocations: 42.25 kB / 1.753 GB, free: 5.754 MB / 1.057 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/1.748, allocations: 0 / 1.753 GB, free: 5.754 MB / 1.057 GB Notification: Performance of matching and sorting (n=15): time 0.0003815/1.749, allocations: 146.2 kB / 1.753 GB, free: 5.629 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/1.749, allocations: 55.39 kB / 1.753 GB, free: 5.562 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/1.749, allocations: 152.1 kB / 1.753 GB, free: 5.422 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/1.749, allocations: 33.39 kB / 1.753 GB, free: 5.387 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.749, allocations: 147 kB / 1.753 GB, free: 5.25 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/1.749, allocations: 46.86 kB / 1.753 GB, free: 5.211 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-06/1.749, allocations: 7.75 kB / 1.753 GB, free: 5.207 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.749, allocations: 322.6 kB / 1.754 GB, free: 4.887 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/1.749, allocations: 35.34 kB / 1.754 GB, free: 4.859 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/1.749, allocations: 145.6 kB / 1.754 GB, free: 4.684 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/1.75, allocations: 58.92 kB / 1.754 GB, free: 4.641 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.75, allocations: 0 / 1.754 GB, free: 4.641 MB / 1.057 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003812/1.75, allocations: 222.7 kB / 1.754 GB, free: 4.449 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.75, allocations: 8 kB / 1.754 GB, free: 4.441 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.75, allocations: 4 kB / 1.754 GB, free: 4.438 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.75, allocations: 4 kB / 1.754 GB, free: 4.434 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/1.75, allocations: 59.91 kB / 1.754 GB, free: 4.375 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.75, allocations: 4 kB / 1.754 GB, free: 4.371 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/1.75, allocations: 27.38 kB / 1.754 GB, free: 4.348 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/1.75, allocations: 15.69 kB / 1.754 GB, free: 4.336 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001462/1.751, allocations: 137.4 kB / 1.754 GB, free: 4.199 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/1.751, allocations: 19.77 kB / 1.754 GB, free: 4.18 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/1.751, allocations: 162.4 kB / 1.755 GB, free: 4.047 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.751, allocations: 0 / 1.755 GB, free: 4.047 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.751, allocations: 0 / 1.755 GB, free: 4.047 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.751, allocations: 4 kB / 1.755 GB, free: 4.043 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/1.751, allocations: 216.2 kB / 1.755 GB, free: 3.801 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.751, allocations: 3.938 kB / 1.755 GB, free: 3.797 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/1.752, allocations: 35.98 kB / 1.755 GB, free: 3.762 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.752, allocations: 0 / 1.755 GB, free: 3.762 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.752, allocations: 11.69 kB / 1.755 GB, free: 3.754 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.752, allocations: 3.938 kB / 1.755 GB, free: 3.75 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.752, allocations: 4 kB / 1.755 GB, free: 3.746 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/1.752, allocations: 218.4 kB / 1.755 GB, free: 3.535 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.752, allocations: 116 kB / 1.755 GB, free: 3.414 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/1.752, allocations: 3.5 kB / 1.755 GB, free: 3.414 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.752, allocations: 23.94 kB / 1.755 GB, free: 3.391 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/1.752, allocations: 15.36 kB / 1.755 GB, free: 3.379 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/1.752, allocations: 4 kB / 1.755 GB, free: 3.375 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001005/1.752, allocations: 123.6 kB / 1.755 GB, free: 3.266 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.51e-07/1.752, allocations: 0 / 1.755 GB, free: 3.266 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0005085/1.753, allocations: 101.3 kB / 1.755 GB, free: 3.18 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0009489/1.754, allocations: 0.8875 MB / 1.756 GB, free: 2.297 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002504/1.754, allocations: 117.5 kB / 1.756 GB, free: 2.199 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.754, allocations: 0 / 1.756 GB, free: 2.199 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/1.754, allocations: 50.78 kB / 1.756 GB, free: 2.156 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/1.755, allocations: 47.3 kB / 1.756 GB, free: 2.121 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/1.757, allocations: 3.258 MB / 1.76 GB, free: 14.85 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/1.758, allocations: 0.7172 MB / 1.76 GB, free: 14.11 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002232/1.758, allocations: 53.67 kB / 1.76 GB, free: 14.06 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/1.758, allocations: 49.55 kB / 1.76 GB, free: 14.03 MB / 1.073 GB Notification: Performance of SimCode: time 2.2e-07/1.758, allocations: 3.938 kB / 1.76 GB, free: 14.03 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/1.78, allocations: 6.064 MB / 1.766 GB, free: 8.141 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/1.781, allocations: 202.1 kB / 1.767 GB, free: 7.887 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/3.706, allocations: 0 / 1.767 GB, free: 7.887 MB / 1.073 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat does not exist to compare? outputFormat=mat