Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4863/0.4863, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009264/0.0009265, allocations: 95.92 kB / 421.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.893e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3533, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.483, allocations: 101.9 MB / 0.6598 GB, free: 2.398 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4833, allocations: 71.95 kB / 0.6599 GB, free: 2.328 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002944/0.4863, allocations: 0.9924 MB / 0.6609 GB, free: 1.352 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4863, allocations: 0 / 0.6609 GB, free: 1.352 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.4863, allocations: 4 kB / 0.6609 GB, free: 1.348 MB / 474.7 MB 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.0003705/0.4867, allocations: 342.5 kB / 0.6612 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4867, allocations: 15.98 kB / 0.6612 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.4868, allocations: 34.55 kB / 0.6612 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.4869, allocations: 7.859 kB / 0.6613 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.487, allocations: 171 kB / 0.6614 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.487, allocations: 0.9375 kB / 0.6614 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.4871, allocations: 0 / 0.6614 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.4872, allocations: 41.69 kB / 0.6615 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4872, allocations: 3.938 kB / 0.6615 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.4872, allocations: 0 / 0.6615 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.4872, allocations: 0 / 0.6615 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.4872, allocations: 15.95 kB / 0.6615 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.4876, allocations: 249 kB / 0.6617 GB, free: 344 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.775e-05/0.4877, allocations: 26.52 kB / 0.6617 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.4877, allocations: 8.922 kB / 0.6617 GB, free: 296 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4877, allocations: 2.531 kB / 0.6617 GB, free: 296 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4878, allocations: 38.56 kB / 0.6618 GB, free: 248 kB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.4878, allocations: 0 / 0.6618 GB, free: 248 kB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.4879, allocations: 45.66 kB / 0.6618 GB, free: 196 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.488, allocations: 51.41 kB / 0.6619 GB, free: 132 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.4881, allocations: 96.92 kB / 0.662 GB, free: 28 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.4881, allocations: 25.7 kB / 0.662 GB, free: 16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.4881, allocations: 95.98 kB / 0.6621 GB, free: 15.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.4882, allocations: 0 / 0.6621 GB, free: 15.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.4882, allocations: 0 / 0.6621 GB, free: 15.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4883, allocations: 310.8 kB / 0.6624 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.4883, allocations: 8.031 kB / 0.6624 GB, free: 15.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.4883, allocations: 8 kB / 0.6624 GB, free: 15.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.4884, allocations: 7.984 kB / 0.6624 GB, free: 15.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4884, allocations: 0 / 0.6624 GB, free: 15.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.435e-05/0.4885, allocations: 41.61 kB / 0.6624 GB, free: 15.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4885, allocations: 8 kB / 0.6625 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4885, allocations: 0 / 0.6625 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.4885, allocations: 0 / 0.6625 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.4886, allocations: 20.03 kB / 0.6625 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.4886, allocations: 7.062 kB / 0.6625 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.4887, allocations: 15.98 kB / 0.6625 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4887, allocations: 0 / 0.6625 GB, free: 15.47 MB / 490.7 MB 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 6.293e-05/0.4888, allocations: 101 kB / 0.6626 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.4888, allocations: 0 / 0.6626 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.489, allocations: 52.81 kB / 0.6626 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.489, allocations: 4 kB / 0.6626 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.489, allocations: 8.891 kB / 0.6627 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.489, allocations: 240 / 0.6627 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.4892, allocations: 162.5 kB / 0.6628 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4892, allocations: 0 / 0.6628 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.4893, allocations: 19.97 kB / 0.6628 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4893, allocations: 0 / 0.6628 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.4893, allocations: 0 / 0.6628 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/0.4893, allocations: 1.875 kB / 0.6628 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4893, allocations: 7.938 kB / 0.6628 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.4894, allocations: 143.5 kB / 0.663 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.4895, allocations: 85.67 kB / 0.6631 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.4895, allocations: 0 / 0.6631 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.4896, allocations: 7.984 kB / 0.6631 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.4896, allocations: 4 kB / 0.6631 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.4896, allocations: 0 / 0.6631 GB, free: 14.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.4897, allocations: 87.28 kB / 0.6631 GB, free: 14.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4897, allocations: 0 / 0.6631 GB, free: 14.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.4899, allocations: 10.3 kB / 0.6632 GB, free: 14.7 MB / 490.7 MB 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 (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.0004263/0.4904, allocations: 0.6789 MB / 0.6638 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.4904, allocations: 12 kB / 0.6638 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4905, allocations: 4.062 kB / 0.6638 GB, free: 13.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.4905, allocations: 8 kB / 0.6638 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.4906, allocations: 4 kB / 0.6638 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.491, allocations: 98.52 kB / 0.6639 GB, free: 13.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4913, allocations: 0.6887 MB / 0.6646 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.4913, allocations: 4 kB / 0.6646 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.4914, allocations: 11.44 kB / 0.6646 GB, free: 13.1 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4914, allocations: 3.938 kB / 0.6646 GB, free: 13.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.5031, allocations: 1.076 MB / 0.6657 GB, free: 12.19 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.5033, allocations: 169.8 kB / 0.6658 GB, free: 11.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/1.896, allocations: 2.531 kB / 0.6658 GB, free: 11.96 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)