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 1.96/1.96, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.0009901/0.0009901, allocations: 176.3 kB / 492.3 MB, free: 0.625 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.225/1.225, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008268/0.0008268, allocations: 89.33 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.527e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1905, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6839/0.8744, allocations: 150.6 MB / 1.36 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.8746, allocations: 74.89 kB / 1.36 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005928/0.8806, allocations: 1.983 MB / 1.362 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8806, allocations: 0 / 1.362 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.8806, allocations: 0 / 1.362 GB, free: 34.59 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.0002543/0.8809, allocations: 365.5 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.8809, allocations: 7.688 kB / 1.362 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.459e-05/0.881, allocations: 34.41 kB / 1.362 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.8813, allocations: 29.69 kB / 1.362 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.8814, allocations: 166.9 kB / 1.362 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.8814, allocations: 0 / 1.362 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.8814, allocations: 0 / 1.362 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.8815, allocations: 58.41 kB / 1.362 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.8815, allocations: 0 / 1.362 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.8815, allocations: 0 / 1.362 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.8816, allocations: 0 / 1.362 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.141e-05/0.8816, allocations: 25.81 kB / 1.362 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.882, allocations: 273.9 kB / 1.362 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.083e-05/0.882, allocations: 42.25 kB / 1.363 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.8821, allocations: 17.48 kB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.8821, allocations: 0 / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.8821, allocations: 34.44 kB / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.8821, allocations: 0 / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.8823, allocations: 53.56 kB / 1.363 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.564e-05/0.8823, allocations: 55.36 kB / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.999e-05/0.8823, allocations: 102.2 kB / 1.363 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.8823, allocations: 25.7 kB / 1.363 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.8824, allocations: 80.14 kB / 1.363 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.8824, allocations: 9.5 kB / 1.363 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.8824, allocations: 0 / 1.363 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.8824, allocations: 315.5 kB / 1.363 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.8825, allocations: 16.81 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.8825, allocations: 7 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.8825, allocations: 8.625 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8825, allocations: 4 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.383e-05/0.8826, allocations: 56.92 kB / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.8826, allocations: 7.844 kB / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.8827, allocations: 0 / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.8827, allocations: 0 / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.8828, allocations: 17.33 kB / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8828, allocations: 3.984 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/0.8829, allocations: 23.91 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.8829, allocations: 1.688 kB / 1.363 GB, free: 32.92 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.351e-05/0.883, allocations: 104.5 kB / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.883, allocations: 8.984 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.883, allocations: 3.125 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.883, allocations: 1.453 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.8831, allocations: 7.938 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.8831, allocations: 0 / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.8832, allocations: 173.9 kB / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8832, allocations: 0 / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.8833, allocations: 18.25 kB / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8833, allocations: 0 / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.8833, allocations: 1.594 kB / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8833, allocations: 7.938 kB / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8833, allocations: 0 / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.8834, allocations: 159.2 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.8835, allocations: 77.11 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.8835, allocations: 1.641 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.8836, allocations: 11.03 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.8836, allocations: 1.688 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.8836, allocations: 3.844 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.8837, allocations: 88.55 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.22e-07/0.8837, allocations: 0 / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001948/0.8839, allocations: 19.62 kB / 1.364 GB, free: 32.28 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 (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.0003296/0.8842, allocations: 0.6974 MB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.917e-05/0.8843, allocations: 32.06 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8843, allocations: 0 / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.8843, allocations: 16.39 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.8845, allocations: 6.672 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.8848, allocations: 110.8 kB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.885, allocations: 0.6773 MB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.206e-05/0.8851, allocations: 15.94 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.8852, allocations: 12.36 kB / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.8852, allocations: 0 / 1.366 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00996/0.8951, allocations: 1.381 MB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001187/0.8953, allocations: 168.9 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.313/2.208, allocations: 0 / 1.367 GB, free: 30.4 MB / 0.8386 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