Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.376/2.376, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001241/0.001241, allocations: 189 kB / 498.1 MB, free: 5.672 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.574/1.574, allocations: 223.1 MB / 0.7948 GB, free: 18.86 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.001118/0.001117, allocations: 100.1 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 9.594 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3478, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.5511, allocations: 150.7 MB / 1.37 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5514, allocations: 71.97 kB / 1.37 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00673/0.5582, allocations: 1.973 MB / 1.372 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5582, allocations: 0 / 1.372 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.5582, allocations: 0 / 1.372 GB, free: 0.5781 MB / 0.8698 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.0004625/0.5587, allocations: 371.2 kB / 1.372 GB, free: 172 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.5588, allocations: 12.03 kB / 1.372 GB, free: 160 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.5588, allocations: 30.56 kB / 1.372 GB, free: 120 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.5592, allocations: 23.92 kB / 1.372 GB, free: 96 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.5594, allocations: 175 kB / 1.373 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5594, allocations: 4 kB / 1.373 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.5594, allocations: 7.984 kB / 1.373 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.5597, allocations: 69.64 kB / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.5597, allocations: 0 / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5597, allocations: 0 / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5598, allocations: 4 kB / 1.373 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.56, allocations: 67.88 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.5606, allocations: 276.8 kB / 1.373 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.5608, allocations: 66.53 kB / 1.373 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.5608, allocations: 0 / 1.373 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5609, allocations: 30.56 kB / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5609, allocations: 4 kB / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.000556/0.5614, allocations: 141.6 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.5615, allocations: 51.41 kB / 1.373 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.5615, allocations: 92.98 kB / 1.373 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.5616, allocations: 25.7 kB / 1.373 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.5616, allocations: 92.08 kB / 1.374 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.5616, allocations: 3.906 kB / 1.374 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.5617, allocations: 0 / 1.374 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5618, allocations: 314.9 kB / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.5619, allocations: 31.97 kB / 1.374 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.562, allocations: 31.97 kB / 1.374 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.5622, allocations: 32.03 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5622, allocations: 3.938 kB / 1.374 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003283/0.5625, allocations: 105.6 kB / 1.374 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.5626, allocations: 7.984 kB / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.5626, allocations: 0 / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5626, allocations: 0 / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5628, allocations: 15.98 kB / 1.374 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5628, allocations: 3.953 kB / 1.374 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5629, allocations: 16.02 kB / 1.374 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.5629, allocations: 0 / 1.374 GB, free: 14.29 MB / 0.8855 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 () * Number of clocked 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 0.000103/0.563, allocations: 109.8 kB / 1.374 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.5631, allocations: 0 / 1.374 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.5631, allocations: 11.11 kB / 1.374 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5631, allocations: 4 kB / 1.374 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5632, allocations: 4 kB / 1.374 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5632, allocations: 3.953 kB / 1.374 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.5634, allocations: 165.7 kB / 1.374 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5634, allocations: 0 / 1.374 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.5635, allocations: 15.98 kB / 1.374 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5635, allocations: 0 / 1.374 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.5636, allocations: 3.984 kB / 1.374 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5636, allocations: 0 / 1.374 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5636, allocations: 4 kB / 1.374 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.564, allocations: 207.3 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.5641, allocations: 77.11 kB / 1.375 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.5641, allocations: 4 kB / 1.375 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.5642, allocations: 11.98 kB / 1.375 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.5643, allocations: 4 kB / 1.375 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5643, allocations: 0 / 1.375 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.5644, allocations: 91.38 kB / 1.375 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5644, allocations: 0 / 1.375 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002684/0.5647, allocations: 19.97 kB / 1.375 GB, free: 13.47 MB / 0.8855 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 (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 Backend phase and start with SimCode phase: time 0.0009308/0.5656, allocations: 0.7434 MB / 1.376 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.566, allocations: 71.95 kB / 1.376 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.566, allocations: 0 / 1.376 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.5661, allocations: 35.97 kB / 1.376 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5664, allocations: 9.344 kB / 1.376 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.5671, allocations: 182.2 kB / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.5674, allocations: 0.677 MB / 1.376 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.658e-05/0.5675, allocations: 8 kB / 1.376 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.5675, allocations: 19.42 kB / 1.376 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.5675, allocations: 0 / 1.376 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.5822, allocations: 1.373 MB / 1.378 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/0.5826, allocations: 189.4 kB / 1.378 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.245, allocations: 64 / 1.378 GB, free: 10.17 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat