Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_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.419/2.419, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001346/0.001346, allocations: 181 kB / 498.1 MB, free: 5.746 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.615/1.615, allocations: 223.2 MB / 0.7948 GB, free: 18 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.001021/0.001021, allocations: 96.62 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004043, allocations: 7.953 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3141, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.5154, allocations: 150.2 MB / 1.37 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5157, allocations: 83.95 kB / 1.37 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006085/0.5218, allocations: 1.811 MB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5219, allocations: 0 / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.5219, allocations: 0 / 1.371 GB, free: 9.914 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003758/0.5223, allocations: 351.3 kB / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5223, allocations: 8.031 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.5224, allocations: 30.56 kB / 1.372 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.5228, allocations: 35.83 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.5229, allocations: 171 kB / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.5229, allocations: 0 / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.523, allocations: 4 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5231, allocations: 49.61 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5232, allocations: 0 / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5232, allocations: 0 / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5232, allocations: 4 kB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.5233, allocations: 23.97 kB / 1.372 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.5236, allocations: 157.6 kB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.5237, allocations: 38.58 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.5238, allocations: 8.062 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.5238, allocations: 38.5 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.5238, allocations: 0 / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003405/0.5242, allocations: 69.66 kB / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.5242, allocations: 51.41 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.5243, allocations: 97.11 kB / 1.373 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.5243, allocations: 25.7 kB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.5244, allocations: 80.14 kB / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5245, allocations: 3.906 kB / 1.373 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.5245, allocations: 4 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5246, allocations: 314.8 kB / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.5247, allocations: 11.98 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.716e-05/0.5248, allocations: 15.98 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.092e-05/0.5249, allocations: 12 kB / 1.373 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5249, allocations: 3.938 kB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.5251, allocations: 61.66 kB / 1.373 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5251, allocations: 5.875 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5251, allocations: 0 / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.5251, allocations: 4.094 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.5253, allocations: 7.984 kB / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.5253, allocations: 3.984 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.5254, allocations: 4 kB / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.5254, allocations: 0 / 1.373 GB, free: 8.035 MB / 0.8698 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.0001079/0.5255, allocations: 113.8 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.5255, allocations: 7.938 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.5256, allocations: 15.05 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5256, allocations: 0 / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5256, allocations: 0 / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5256, allocations: 4 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.5258, allocations: 165.5 kB / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5258, allocations: 0 / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.5259, allocations: 7.984 kB / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5259, allocations: 3.938 kB / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5259, allocations: 0 / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.5259, allocations: 8 kB / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5259, allocations: 0 / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.5261, allocations: 89.05 kB / 1.374 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.5262, allocations: 81.11 kB / 1.374 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.5263, allocations: 0 / 1.374 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.5263, allocations: 8.016 kB / 1.374 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.5264, allocations: 192 / 1.374 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5264, allocations: 4 kB / 1.374 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.5264, allocations: 83.27 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5264, allocations: 0 / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002292/0.5267, allocations: 23.92 kB / 1.374 GB, free: 7.336 MB / 0.8698 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.000592/0.5273, allocations: 0.6395 MB / 1.374 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.5275, allocations: 23.97 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5275, allocations: 0 / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.5275, allocations: 24.08 kB / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.5277, allocations: 3.938 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.5282, allocations: 174.1 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5285, allocations: 0.677 MB / 1.375 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.223e-05/0.5286, allocations: 16 kB / 1.375 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.5287, allocations: 11.44 kB / 1.375 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/0.5287, allocations: 0 / 1.375 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.5425, allocations: 1.342 MB / 1.377 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.5428, allocations: 197.5 kB / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.159, allocations: 2 kB / 1.377 GB, free: 4.266 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat