Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.914/1.914, allocations: 292.6 MB / 307.5 MB, free: 5.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 185 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 0.6366 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 97.53 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3079, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8458/1.154, allocations: 139.4 MB / 1.125 GB, free: 35.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/1.154, allocations: 77.12 kB / 1.125 GB, free: 35.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0031/1.157, allocations: 0.9752 MB / 1.126 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.444e-06/1.157, allocations: 0.5625 kB / 1.126 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.157, allocations: 0 / 1.126 GB, free: 34.37 MB / 0.7292 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.0003538/1.158, allocations: 349.8 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.158, allocations: 12.02 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/1.158, allocations: 34.12 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.951e-05/1.158, allocations: 9.969 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/1.158, allocations: 159.1 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/1.158, allocations: 4 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/1.158, allocations: 11.44 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/1.158, allocations: 56.7 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.158, allocations: 0 / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.158, allocations: 4 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/1.158, allocations: 0 / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/1.158, allocations: 47.11 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/1.159, allocations: 244.8 kB / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/1.159, allocations: 52.23 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/1.159, allocations: 0 / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.159, allocations: 34.5 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/1.159, allocations: 0 / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003403/1.159, allocations: 94.92 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.159, allocations: 63.34 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/1.159, allocations: 93.69 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/1.159, allocations: 25.7 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/1.159, allocations: 80.27 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/1.159, allocations: 11.91 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/1.16, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/1.16, allocations: 318.8 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/1.16, allocations: 23.64 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/1.16, allocations: 27.45 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.715e-05/1.16, allocations: 19.42 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.16, allocations: 3.422 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/1.16, allocations: 79.75 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.16, allocations: 8 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/1.16, allocations: 0 / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.16, allocations: 0.5625 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/1.16, allocations: 11.42 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.16, allocations: 0 / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/1.16, allocations: 11.52 kB / 1.127 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/1.16, allocations: 5.031 kB / 1.127 GB, free: 32.41 MB / 0.7292 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 5.788e-05/1.16, allocations: 109.8 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/1.16, allocations: 4.75 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/1.161, allocations: 94.36 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.161, allocations: 0.7969 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.161, allocations: 0 / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.161, allocations: 0 / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/1.161, allocations: 164.3 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.161, allocations: 0 / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/1.161, allocations: 12.3 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/1.161, allocations: 0.5625 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.161, allocations: 0 / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.161, allocations: 8 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.161, allocations: 0 / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/1.161, allocations: 178.1 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/1.161, allocations: 85.02 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/1.161, allocations: 5.562 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/1.161, allocations: 11.56 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/1.161, allocations: 7.219 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/1.161, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.789e-05/1.161, allocations: 84.83 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.161, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001952/1.162, allocations: 4.844 kB / 1.128 GB, free: 31.61 MB / 0.7292 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.0004111/1.162, allocations: 0.7088 MB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001968/1.162, allocations: 53.97 kB / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.162, allocations: 0 / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/1.162, allocations: 31.08 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/1.162, allocations: 4.812 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/1.163, allocations: 161.7 kB / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/1.163, allocations: 0.6838 MB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.175e-05/1.163, allocations: 3.938 kB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/1.163, allocations: 15.44 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/1.163, allocations: 0 / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/1.176, allocations: 1.082 MB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.176, allocations: 200.1 kB / 1.131 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.836, allocations: 3.094 kB / 1.131 GB, free: 29.12 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)