Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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 1.917/1.917, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.0009453/0.0009453, allocations: 172.9 kB / 492.3 MB, free: 0.6133 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.231/1.231, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0007743/0.0007743, allocations: 100.6 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.057e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6766/0.8731, allocations: 149.6 MB / 1.359 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.8733, allocations: 77.8 kB / 1.359 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00308/0.8764, allocations: 0.9859 MB / 1.36 GB, free: 34.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8764, allocations: 4 kB / 1.36 GB, free: 34.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.8765, allocations: 0 / 1.36 GB, free: 34.78 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002615/0.8767, allocations: 342.8 kB / 1.36 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.8768, allocations: 7.812 kB / 1.36 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.8768, allocations: 31.36 kB / 1.36 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.8769, allocations: 7.516 kB / 1.36 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.004e-05/0.877, allocations: 167.7 kB / 1.36 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.877, allocations: 11.72 kB / 1.36 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.877, allocations: 0.7969 kB / 1.36 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.8771, allocations: 35.61 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.8771, allocations: 0 / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.8771, allocations: 0 / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.8771, allocations: 3.75 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.8772, allocations: 20 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.8774, allocations: 252.2 kB / 1.36 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.561e-05/0.8775, allocations: 26.58 kB / 1.361 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.8775, allocations: 11.77 kB / 1.361 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.8776, allocations: 0.6562 kB / 1.361 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.8776, allocations: 38.34 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.8776, allocations: 0 / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001243/0.8777, allocations: 39.31 kB / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.8777, allocations: 55.44 kB / 1.361 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.133e-05/0.8778, allocations: 93.31 kB / 1.361 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.8778, allocations: 29.55 kB / 1.361 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.8778, allocations: 88.06 kB / 1.361 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.8778, allocations: 4.469 kB / 1.361 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.8779, allocations: 0 / 1.361 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.8779, allocations: 316 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.8779, allocations: 9.266 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.8779, allocations: 8.547 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.861e-05/0.878, allocations: 7.75 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.878, allocations: 0 / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.233e-05/0.878, allocations: 46.81 kB / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.8781, allocations: 4.766 kB / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.8781, allocations: 0 / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8781, allocations: 0 / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.8782, allocations: 11.03 kB / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.8782, allocations: 4.094 kB / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.8782, allocations: 10.64 kB / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.8783, allocations: 0 / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 5.056e-05/0.8783, allocations: 110.2 kB / 1.361 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.8783, allocations: 4.562 kB / 1.361 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.8785, allocations: 56.12 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8785, allocations: 4.328 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.8785, allocations: 4 kB / 1.361 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8785, allocations: 0.5625 kB / 1.361 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.8786, allocations: 165.2 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8786, allocations: 0 / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.8787, allocations: 10.62 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8787, allocations: 4.484 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.8787, allocations: 0 / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8787, allocations: 0 / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8787, allocations: 0.75 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.98e-05/0.8788, allocations: 149.8 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.8789, allocations: 82.08 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.8789, allocations: 8.391 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.879, allocations: 10.16 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.879, allocations: 1.359 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.879, allocations: 0.6562 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.8791, allocations: 91.81 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8791, allocations: 0 / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001837/0.8792, allocations: 3.844 kB / 1.362 GB, free: 32.46 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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.0002859/0.8795, allocations: 0.681 MB / 1.363 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.83e-05/0.8796, allocations: 16.52 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8796, allocations: 4.062 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.8797, allocations: 11.56 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.8798, allocations: 0.6562 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.8801, allocations: 91.72 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.8803, allocations: 0.6814 MB / 1.363 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.174e-05/0.8803, allocations: 4.562 kB / 1.363 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.8804, allocations: 14.98 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/0.8804, allocations: 0 / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.8907, allocations: 1.093 MB / 1.364 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/0.8909, allocations: 171.4 kB / 1.365 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.331/2.222, allocations: 0 / 1.365 GB, free: 30.63 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat