Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.218/2.218, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001127/0.001127, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0008489/0.0008492, allocations: 99.59 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.079e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.539, allocations: 450.9 MB / 1.659 GB, free: 15.45 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.539, allocations: 83.94 kB / 1.659 GB, free: 15.36 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 0.9683/2.507, allocations: 87.42 MB / 1.745 GB, free: 382 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.993e-06/2.507, allocations: 0 / 1.745 GB, free: 382 MB / 1.135 GB Notification: Performance of Transformations before backend: time 1.193e-05/2.507, allocations: 3.719 kB / 1.745 GB, free: 382 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.003572/2.511, allocations: 0.7445 MB / 1.745 GB, free: 381.4 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/2.511, allocations: 7.906 kB / 1.745 GB, free: 381.4 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/2.511, allocations: 50.31 kB / 1.745 GB, free: 381.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/2.511, allocations: 23.64 kB / 1.745 GB, free: 381.3 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/2.511, allocations: 214 kB / 1.746 GB, free: 381.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/2.511, allocations: 20.22 kB / 1.746 GB, free: 381.1 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/2.511, allocations: 11.94 kB / 1.746 GB, free: 381.1 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/2.512, allocations: 239.3 kB / 1.746 GB, free: 380.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/2.512, allocations: 3.969 kB / 1.746 GB, free: 380.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/2.512, allocations: 8 kB / 1.746 GB, free: 380.9 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/2.512, allocations: 11.89 kB / 1.746 GB, free: 380.9 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/2.512, allocations: 426.3 kB / 1.746 GB, free: 380.9 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/2.513, allocations: 1.015 MB / 1.747 GB, free: 380 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/2.514, allocations: 154.6 kB / 1.747 GB, free: 379.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/2.514, allocations: 60.16 kB / 1.748 GB, free: 379.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/2.515, allocations: 1.967 MB / 1.749 GB, free: 377.9 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/2.515, allocations: 42.41 kB / 1.749 GB, free: 377.8 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/2.515, allocations: 0 / 1.749 GB, free: 377.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0002638/2.515, allocations: 115.2 kB / 1.75 GB, free: 377.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/2.515, allocations: 51.41 kB / 1.75 GB, free: 377.7 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/2.515, allocations: 157.6 kB / 1.75 GB, free: 377.6 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/2.515, allocations: 33.45 kB / 1.75 GB, free: 377.5 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/2.515, allocations: 141.7 kB / 1.75 GB, free: 377.4 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/2.515, allocations: 49.59 kB / 1.75 GB, free: 377.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/2.515, allocations: 8 kB / 1.75 GB, free: 377.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/2.516, allocations: 329.9 kB / 1.75 GB, free: 377 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/2.516, allocations: 30.88 kB / 1.75 GB, free: 377 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/2.516, allocations: 139.2 kB / 1.75 GB, free: 376.9 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.029e-05/2.516, allocations: 59.14 kB / 1.751 GB, free: 376.9 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/2.516, allocations: 0 / 1.751 GB, free: 376.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002704/2.516, allocations: 217.5 kB / 1.751 GB, free: 376.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/2.516, allocations: 3.844 kB / 1.751 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/2.516, allocations: 3.969 kB / 1.751 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/2.516, allocations: 7.938 kB / 1.751 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/2.516, allocations: 53.56 kB / 1.751 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/2.516, allocations: 7.688 kB / 1.751 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/2.516, allocations: 36 kB / 1.751 GB, free: 376.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/2.516, allocations: 19.2 kB / 1.751 GB, free: 376.7 MB / 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 6.305e-05/2.517, allocations: 116.8 kB / 1.751 GB, free: 376.6 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/2.517, allocations: 23.45 kB / 1.751 GB, free: 376.6 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/2.517, allocations: 158.5 kB / 1.751 GB, free: 376.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/2.517, allocations: 7.797 kB / 1.751 GB, free: 376.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/2.517, allocations: 0 / 1.751 GB, free: 376.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/2.517, allocations: 0 / 1.751 GB, free: 376.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/2.517, allocations: 217.5 kB / 1.751 GB, free: 376.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/2.517, allocations: 0 / 1.751 GB, free: 376.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/2.517, allocations: 31.5 kB / 1.751 GB, free: 376.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/2.517, allocations: 7.797 kB / 1.751 GB, free: 376.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/2.517, allocations: 3.234 kB / 1.751 GB, free: 376.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/2.517, allocations: 0 / 1.751 GB, free: 376.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.517, allocations: 0 / 1.751 GB, free: 376.3 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/2.517, allocations: 219.7 kB / 1.752 GB, free: 376.1 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/2.518, allocations: 130.9 kB / 1.752 GB, free: 376 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/2.518, allocations: 7.953 kB / 1.752 GB, free: 376 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/2.518, allocations: 18.23 kB / 1.752 GB, free: 376 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/2.518, allocations: 11.44 kB / 1.752 GB, free: 376 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/2.518, allocations: 11.16 kB / 1.752 GB, free: 376 MB / 1.135 GB Notification: Performance of sorting global known variables: time 6.583e-05/2.518, allocations: 119.4 kB / 1.752 GB, free: 375.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.4e-07/2.518, allocations: 0 / 1.752 GB, free: 375.9 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0004477/2.518, allocations: 88.59 kB / 1.752 GB, free: 375.9 MB / 1.135 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.0005789/2.519, allocations: 0.88 MB / 1.753 GB, free: 375.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0001967/2.519, allocations: 119.8 kB / 1.753 GB, free: 375.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.519, allocations: 0 / 1.753 GB, free: 375.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 5.456e-05/2.519, allocations: 46.2 kB / 1.753 GB, free: 375.1 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/2.52, allocations: 53.31 kB / 1.753 GB, free: 375.1 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/2.52, allocations: 239.4 kB / 1.753 GB, free: 374.9 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/2.52, allocations: 0.7181 MB / 1.754 GB, free: 374.2 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0001716/2.521, allocations: 55.05 kB / 1.754 GB, free: 374.2 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/2.521, allocations: 49.03 kB / 1.754 GB, free: 374.2 MB / 1.135 GB Notification: Performance of SimCode: time 2.61e-07/2.521, allocations: 0 / 1.754 GB, free: 374.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/2.539, allocations: 6.247 MB / 1.76 GB, free: 373.5 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/2.539, allocations: 166.9 kB / 1.76 GB, free: 373.3 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/4.264, allocations: 0 / 1.76 GB, free: 373.3 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat does not exist to compare? outputFormat=mat