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.412/2.412, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.002027/0.002027, allocations: 176.6 kB / 487.4 MB, free: 5.09 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.564/1.564, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009252, allocations: 98.27 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.768e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.254, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.411, allocations: 449.4 MB / 1.645 GB, free: 5.336 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/1.411, allocations: 84.81 kB / 1.645 GB, free: 5.289 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.2238/1.635, allocations: 86.45 MB / 1.729 GB, free: 7.332 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.493e-06/1.635, allocations: 0 / 1.729 GB, free: 7.332 MB / 1.135 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.635, allocations: 4 kB / 1.729 GB, free: 7.328 MB / 1.135 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.002522/1.638, allocations: 0.7486 MB / 1.73 GB, free: 6.531 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.638, allocations: 8.031 kB / 1.73 GB, free: 6.523 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/1.638, allocations: 27.75 kB / 1.73 GB, free: 6.496 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/1.638, allocations: 206.9 kB / 1.73 GB, free: 6.254 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/1.638, allocations: 12 kB / 1.73 GB, free: 6.242 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/1.638, allocations: 8 kB / 1.73 GB, free: 6.234 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004572/1.638, allocations: 408.2 kB / 1.731 GB, free: 5.836 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/1.639, allocations: 215.8 kB / 1.731 GB, free: 5.605 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.639, allocations: 0 / 1.731 GB, free: 5.605 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/1.639, allocations: 4 kB / 1.731 GB, free: 5.602 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/1.639, allocations: 8 kB / 1.731 GB, free: 5.594 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/1.64, allocations: 0.9804 MB / 1.732 GB, free: 4.535 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/1.64, allocations: 141 kB / 1.732 GB, free: 4.391 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/1.64, allocations: 47.53 kB / 1.732 GB, free: 4.344 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/1.642, allocations: 1.963 MB / 1.734 GB, free: 2.023 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/1.642, allocations: 38.52 kB / 1.734 GB, free: 1.977 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/1.642, allocations: 0 / 1.734 GB, free: 1.977 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0004557/1.642, allocations: 131.7 kB / 1.734 GB, free: 1.844 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/1.642, allocations: 51.41 kB / 1.734 GB, free: 1.781 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.642, allocations: 140.8 kB / 1.734 GB, free: 1.637 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/1.642, allocations: 25.7 kB / 1.734 GB, free: 1.605 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/1.642, allocations: 143.8 kB / 1.735 GB, free: 1.461 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/1.642, allocations: 51.3 kB / 1.735 GB, free: 1.41 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/1.642, allocations: 0 / 1.735 GB, free: 1.41 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/1.642, allocations: 322.8 kB / 1.735 GB, free: 1.086 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/1.642, allocations: 28.5 kB / 1.735 GB, free: 1.059 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/1.643, allocations: 143.2 kB / 1.735 GB, free: 0.8711 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/1.643, allocations: 71.89 kB / 1.735 GB, free: 0.8008 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/1.643, allocations: 3.984 kB / 1.735 GB, free: 0.7969 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004488/1.643, allocations: 209 kB / 1.735 GB, free: 0.5859 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.643, allocations: 9.406 kB / 1.735 GB, free: 0.5781 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.643, allocations: 4 kB / 1.735 GB, free: 0.5742 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.643, allocations: 8.422 kB / 1.735 GB, free: 0.5664 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/1.644, allocations: 63.91 kB / 1.735 GB, free: 0.5039 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.644, allocations: 4 kB / 1.735 GB, free: 0.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/1.644, allocations: 23.69 kB / 1.735 GB, free: 488 kB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/1.644, allocations: 19.98 kB / 1.736 GB, free: 468 kB / 1.135 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 () * 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 7.163e-05/1.644, allocations: 108.9 kB / 1.736 GB, free: 352 kB / 1.135 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003657/1.644, allocations: 132 kB / 1.736 GB, free: 216 kB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/1.644, allocations: 19.77 kB / 1.736 GB, free: 196 kB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/1.645, allocations: 170.1 kB / 1.736 GB, free: 24 kB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.645, allocations: 4 kB / 1.736 GB, free: 20 kB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.645, allocations: 3.984 kB / 1.736 GB, free: 16 kB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/1.645, allocations: 3.984 kB / 1.736 GB, free: 12 kB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/1.645, allocations: 186.1 kB / 1.736 GB, free: 15.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.645, allocations: 0 / 1.736 GB, free: 15.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.645, allocations: 31.92 kB / 1.736 GB, free: 15.76 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.645, allocations: 3.938 kB / 1.736 GB, free: 15.76 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/1.645, allocations: 4 kB / 1.736 GB, free: 15.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.645, allocations: 3.953 kB / 1.736 GB, free: 15.75 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.645, allocations: 3.984 kB / 1.736 GB, free: 15.75 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/1.646, allocations: 241.1 kB / 1.736 GB, free: 15.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/1.646, allocations: 113 kB / 1.737 GB, free: 15.37 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/1.646, allocations: 4 kB / 1.737 GB, free: 15.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/1.646, allocations: 15.92 kB / 1.737 GB, free: 15.35 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/1.646, allocations: 23.88 kB / 1.737 GB, free: 15.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/1.646, allocations: 11.98 kB / 1.737 GB, free: 15.31 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.644e-05/1.646, allocations: 103.9 kB / 1.737 GB, free: 15.21 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/1.646, allocations: 0 / 1.737 GB, free: 15.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003965/1.646, allocations: 83.92 kB / 1.737 GB, free: 15.13 MB / 1.151 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 () * 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.0008099/1.647, allocations: 0.8919 MB / 1.738 GB, free: 14.21 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001758/1.647, allocations: 106 kB / 1.738 GB, free: 14.11 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.647, allocations: 0 / 1.738 GB, free: 14.11 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/1.647, allocations: 47.86 kB / 1.738 GB, free: 14.06 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/1.648, allocations: 32.86 kB / 1.738 GB, free: 14.03 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/1.648, allocations: 227.2 kB / 1.738 GB, free: 13.78 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/1.649, allocations: 0.7167 MB / 1.739 GB, free: 13.03 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001658/1.649, allocations: 45.66 kB / 1.739 GB, free: 12.98 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/1.649, allocations: 43.42 kB / 1.739 GB, free: 12.94 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/1.649, allocations: 3.938 kB / 1.739 GB, free: 12.93 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/1.671, allocations: 4.788 MB / 1.743 GB, free: 8.176 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/1.672, allocations: 159.9 kB / 1.744 GB, free: 7.977 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/3.308, allocations: 0 / 1.744 GB, free: 7.977 MB / 1.151 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