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.748/1.748, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001292/0.001292, allocations: 172.4 kB / 366.7 MB, free: 1.637 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.669/1.669, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.001099/0.001099, allocations: 95.11 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.662e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6673, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.8689, allocations: 138.7 MB / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.8693, allocations: 79.94 kB / 1.109 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003354/0.8727, allocations: 0.962 MB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8727, allocations: 0 / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.8727, allocations: 4.688 kB / 1.11 GB, free: 10.39 MB / 0.7136 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.0004357/0.8731, allocations: 340.2 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.8732, allocations: 8.031 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.8733, allocations: 11.83 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.8735, allocations: 171.5 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.8735, allocations: 0 / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.8735, allocations: 0.8438 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.529e-05/0.8736, allocations: 15.83 kB / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.625e-05/0.8737, allocations: 38.28 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.8737, allocations: 0.5312 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8738, allocations: 0 / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.8738, allocations: 4.516 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.8742, allocations: 227.3 kB / 1.111 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.535e-05/0.8742, allocations: 28.61 kB / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.8743, allocations: 13.58 kB / 1.111 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.8743, allocations: 0 / 1.111 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.8743, allocations: 31.73 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.8744, allocations: 0 / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.8745, allocations: 42.66 kB / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.8746, allocations: 51.94 kB / 1.111 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.8747, allocations: 89.84 kB / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.8747, allocations: 25.7 kB / 1.111 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.8748, allocations: 94.23 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.8748, allocations: 7.891 kB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.8748, allocations: 0 / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.875, allocations: 310.8 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.875, allocations: 11.94 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.875, allocations: 5.281 kB / 1.111 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.8751, allocations: 7.953 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.8751, allocations: 3.344 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.301e-05/0.8752, allocations: 41.69 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8752, allocations: 4 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.8752, allocations: 3.656 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8752, allocations: 0 / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.8754, allocations: 11.98 kB / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8754, allocations: 4.781 kB / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.8754, allocations: 4.875 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.8755, allocations: 5.312 kB / 1.111 GB, free: 8.648 MB / 0.7136 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 () * 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 8.442e-05/0.8755, allocations: 108.9 kB / 1.111 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.889e-05/0.8756, allocations: 46.31 kB / 1.111 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.8757, allocations: 0 / 1.111 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.8758, allocations: 55.12 kB / 1.112 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8758, allocations: 2.953 kB / 1.112 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8759, allocations: 0 / 1.112 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8759, allocations: 160 / 1.112 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.876, allocations: 150.2 kB / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.876, allocations: 4 kB / 1.112 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.8761, allocations: 11.98 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8761, allocations: 1 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.8762, allocations: 2.625 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.8762, allocations: 0 / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8762, allocations: 3.938 kB / 1.112 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.8763, allocations: 147.5 kB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.8764, allocations: 81.02 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.8764, allocations: 0 / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.8765, allocations: 12.98 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.8766, allocations: 8 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.8766, allocations: 0 / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.8766, allocations: 79.56 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8766, allocations: 0 / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002222/0.8768, allocations: 8 kB / 1.112 GB, free: 7.859 MB / 0.7136 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 () * 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.000492/0.8773, allocations: 0.6852 MB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.368e-05/0.8775, allocations: 12 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8775, allocations: 0 / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.8775, allocations: 4 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.8777, allocations: 12.06 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.8781, allocations: 88.22 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.8784, allocations: 0.6807 MB / 1.113 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.8785, allocations: 4 kB / 1.113 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.8785, allocations: 11.42 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of SimCode: time 2.084e-06/0.8785, allocations: 0 / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.8997, allocations: 0.7678 MB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.9, allocations: 162.1 kB / 1.114 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.554, allocations: 3.281 kB / 1.114 GB, free: 5.359 MB / 0.7136 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)