Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.702/2.702, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001363/0.001363, allocations: 189.8 kB / 0.4902 GB, free: 2.219 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.472/1.472, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0009151/0.000915, allocations: 106.2 kB / 0.9396 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 19.91 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3266, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.5264, allocations: 151.5 MB / 1.377 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.5267, allocations: 75.95 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.007048/0.5338, allocations: 1.977 MB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.837e-06/0.5339, allocations: 4 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5339, allocations: 0 / 1.379 GB, free: 11.63 MB / 0.8855 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.0004457/0.5343, allocations: 359.3 kB / 1.38 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.5344, allocations: 12.55 kB / 1.38 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.5344, allocations: 34.55 kB / 1.38 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.5348, allocations: 39.77 kB / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.535, allocations: 171 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.535, allocations: 4 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.535, allocations: 0 / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.5353, allocations: 65.64 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5353, allocations: 3.984 kB / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5353, allocations: 0 / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.5354, allocations: 8 kB / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.5356, allocations: 59.94 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.5361, allocations: 284.8 kB / 1.38 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.5364, allocations: 58.53 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.5364, allocations: 4.062 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.5364, allocations: 34.56 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.5364, allocations: 0 / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0005334/0.537, allocations: 141.5 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.537, allocations: 55.34 kB / 1.38 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.5371, allocations: 89 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.5371, allocations: 25.7 kB / 1.381 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.5372, allocations: 92.03 kB / 1.381 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.5372, allocations: 8.125 kB / 1.381 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.5372, allocations: 0 / 1.381 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5373, allocations: 310.8 kB / 1.381 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5375, allocations: 31.97 kB / 1.381 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.5376, allocations: 31.97 kB / 1.381 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.5377, allocations: 31.97 kB / 1.381 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5377, allocations: 0 / 1.381 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003168/0.5381, allocations: 105.6 kB / 1.381 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.5381, allocations: 4.625 kB / 1.381 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5381, allocations: 3.938 kB / 1.381 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5381, allocations: 0 / 1.381 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.5383, allocations: 24 kB / 1.381 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5383, allocations: 3.953 kB / 1.381 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.5384, allocations: 11.98 kB / 1.381 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.5384, allocations: 0 / 1.381 GB, free: 9.344 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 7.702e-05/0.5385, allocations: 105.8 kB / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.5385, allocations: 4 kB / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.5386, allocations: 11.12 kB / 1.381 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5386, allocations: 0 / 1.381 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5386, allocations: 0 / 1.381 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5386, allocations: 3.953 kB / 1.381 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.5388, allocations: 169.6 kB / 1.381 GB, free: 9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5388, allocations: 0 / 1.381 GB, free: 9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5389, allocations: 19.92 kB / 1.382 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5389, allocations: 0 / 1.382 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.539, allocations: 4 kB / 1.382 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.539, allocations: 0 / 1.382 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.539, allocations: 3.984 kB / 1.382 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.5393, allocations: 199.6 kB / 1.382 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.5394, allocations: 85 kB / 1.382 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.5394, allocations: 0 / 1.382 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.5395, allocations: 11.98 kB / 1.382 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.5396, allocations: 11.98 kB / 1.382 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.5396, allocations: 0 / 1.382 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.5397, allocations: 83.31 kB / 1.382 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5397, allocations: 3.938 kB / 1.382 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002521/0.5399, allocations: 15.94 kB / 1.382 GB, free: 8.535 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.0007233/0.5407, allocations: 0.7423 MB / 1.383 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.541, allocations: 71.91 kB / 1.383 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.541, allocations: 0 / 1.383 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5411, allocations: 36.03 kB / 1.383 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.5413, allocations: 8.734 kB / 1.383 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.542, allocations: 182.2 kB / 1.383 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.5423, allocations: 0.677 MB / 1.384 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.5425, allocations: 12 kB / 1.384 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.5425, allocations: 15.36 kB / 1.384 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of SimCode: time 2.194e-06/0.5425, allocations: 0 / 1.384 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.5588, allocations: 1.386 MB / 1.385 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.5591, allocations: 199.9 kB / 1.385 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.23, allocations: 0 / 1.385 GB, free: 5.238 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat