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 2.623/2.623, 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.001092/0.001092, allocations: 185 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.716/1.716, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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: 107.8 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004123, allocations: 11.78 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3323, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.5372, allocations: 149.7 MB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5375, allocations: 75.95 kB / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003291/0.5408, allocations: 1.003 MB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.416e-06/0.5409, allocations: 0 / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.5409, allocations: 0 / 1.37 GB, free: 11.3 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.0004411/0.5413, allocations: 351.2 kB / 1.371 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.5414, allocations: 8.031 kB / 1.371 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.5414, allocations: 34.56 kB / 1.371 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.5415, allocations: 4 kB / 1.371 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.5417, allocations: 167 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5417, allocations: 0 / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.5417, allocations: 0 / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.5419, allocations: 53.67 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.542, allocations: 3.984 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.542, allocations: 0 / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.542, allocations: 4 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.5422, allocations: 47.91 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.5426, allocations: 252.9 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.5427, allocations: 38.56 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.5427, allocations: 0 / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.5427, allocations: 34.56 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5428, allocations: 4.062 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003945/0.5432, allocations: 101.5 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.5432, allocations: 51.41 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.5433, allocations: 104.9 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.5433, allocations: 25.83 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.5434, allocations: 84.14 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.5434, allocations: 15.84 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.5435, allocations: 0 / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5436, allocations: 310.8 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.5437, allocations: 19.98 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/0.5438, allocations: 27.97 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.5439, allocations: 19.98 kB / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5439, allocations: 0 / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002287/0.5442, allocations: 85.66 kB / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5442, allocations: 4 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5442, allocations: 0 / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5442, allocations: 0 / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.5443, allocations: 15.98 kB / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5444, allocations: 4 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.5444, allocations: 8.031 kB / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.5445, allocations: 3.953 kB / 1.372 GB, free: 9.23 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 9.808e-05/0.5446, allocations: 109.8 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.5446, allocations: 7.922 kB / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.5449, allocations: 88.72 kB / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5449, allocations: 4 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5449, allocations: 0 / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5449, allocations: 0 / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.5451, allocations: 169.5 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5451, allocations: 0 / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.5452, allocations: 15.98 kB / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5452, allocations: 0 / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.5452, allocations: 4 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5452, allocations: 0 / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5452, allocations: 0 / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.5455, allocations: 183.4 kB / 1.373 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.5456, allocations: 77.11 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.5456, allocations: 0 / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.5457, allocations: 11.98 kB / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.5457, allocations: 3.938 kB / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.5458, allocations: 4 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.5458, allocations: 83.27 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.543e-06/0.5458, allocations: 0 / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002043/0.546, allocations: 11.94 kB / 1.373 GB, free: 8.371 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 (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.0006834/0.5467, allocations: 0.7122 MB / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.547, allocations: 47.95 kB / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.547, allocations: 3.938 kB / 1.373 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.744e-05/0.5471, allocations: 28.05 kB / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.5473, allocations: 7.984 kB / 1.373 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.5479, allocations: 154.8 kB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.5482, allocations: 0.677 MB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.636e-05/0.5483, allocations: 11.98 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.5484, allocations: 7.438 kB / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/0.5484, allocations: 0 / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.5616, allocations: 1.08 MB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.5618, allocations: 200.4 kB / 1.376 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.169, allocations: 4 kB / 1.376 GB, free: 5.469 MB / 0.8698 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