Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001683, allocations: 180.3 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 84.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003474, allocations: 10.69 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.366/5.57, allocations: 2.173 GB / 3.073 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/5.57, allocations: 85.73 kB / 3.074 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6048/6.175, allocations: 26.7 MB / 3.1 GB, free: 331 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.717e-06/6.175, allocations: 0.6562 kB / 3.1 GB, free: 331 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.162e-05/6.175, allocations: 7.938 kB / 3.1 GB, free: 331 MB / 0.8855 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.0003805/6.176, allocations: 360.2 kB / 3.1 GB, free: 330.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/6.176, allocations: 8.844 kB / 3.1 GB, free: 330.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/6.176, allocations: 31.97 kB / 3.1 GB, free: 330.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/6.176, allocations: 33.55 kB / 3.1 GB, free: 330.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/6.176, allocations: 163.8 kB / 3.1 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/6.176, allocations: 0 / 3.1 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/6.176, allocations: 6 kB / 3.1 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/6.177, allocations: 51.3 kB / 3.1 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/6.177, allocations: 0 / 3.1 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/6.177, allocations: 3.938 kB / 3.1 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/6.177, allocations: 0.9375 kB / 3.1 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/6.177, allocations: 24.83 kB / 3.1 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/6.177, allocations: 262 kB / 3.101 GB, free: 330.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/6.177, allocations: 23.39 kB / 3.101 GB, free: 330.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/6.177, allocations: 7.578 kB / 3.101 GB, free: 330.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/6.177, allocations: 31.91 kB / 3.101 GB, free: 330 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/6.177, allocations: 0 / 3.101 GB, free: 330 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.000166/6.177, allocations: 43.31 kB / 3.101 GB, free: 330 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/6.177, allocations: 55.53 kB / 3.101 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/6.178, allocations: 105.5 kB / 3.101 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/6.178, allocations: 29.64 kB / 3.101 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/6.178, allocations: 81.67 kB / 3.101 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-06/6.178, allocations: 7.562 kB / 3.101 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/6.178, allocations: 1.5 kB / 3.101 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.888e-05/6.178, allocations: 318.3 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/6.178, allocations: 13.08 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/6.178, allocations: 9.938 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.955e-05/6.178, allocations: 10.12 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/6.178, allocations: 0 / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001811/6.178, allocations: 57.31 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/6.178, allocations: 6.406 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/6.178, allocations: 4 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/6.178, allocations: 0 / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/6.178, allocations: 12.94 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/6.178, allocations: 3.953 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/6.179, allocations: 13.56 kB / 3.101 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/6.179, allocations: 4.672 kB / 3.101 GB, free: 329.4 MB / 0.8855 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 (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 prepare postOptimizeDAE: time 7.184e-05/6.179, allocations: 107.3 kB / 3.101 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/6.179, allocations: 5.5 kB / 3.101 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/6.179, allocations: 8.031 kB / 3.101 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/6.179, allocations: 0 / 3.101 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/6.179, allocations: 0.9062 kB / 3.101 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/6.179, allocations: 3.953 kB / 3.101 GB, free: 329.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/6.179, allocations: 152.4 kB / 3.102 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/6.179, allocations: 0 / 3.102 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/6.179, allocations: 3.219 kB / 3.102 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/6.179, allocations: 0 / 3.102 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/6.179, allocations: 0 / 3.102 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/6.179, allocations: 4 kB / 3.102 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/6.179, allocations: 1.406 kB / 3.102 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.661e-05/6.179, allocations: 143 kB / 3.102 GB, free: 328.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/6.179, allocations: 87 kB / 3.102 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/6.179, allocations: 4 kB / 3.102 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/6.179, allocations: 3.344 kB / 3.102 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/6.179, allocations: 0 / 3.102 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/6.179, allocations: 5.812 kB / 3.102 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.556e-05/6.179, allocations: 98.88 kB / 3.102 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/6.179, allocations: 0 / 3.102 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004252/6.18, allocations: 54.62 kB / 3.102 GB, free: 328.7 MB / 0.8855 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.001082/6.181, allocations: 1.132 MB / 3.103 GB, free: 328 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001423/6.181, allocations: 25.88 kB / 3.103 GB, free: 328 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/6.181, allocations: 0 / 3.103 GB, free: 328 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/6.181, allocations: 3.688 kB / 3.103 GB, free: 328 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/6.181, allocations: 12.23 kB / 3.103 GB, free: 328 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/6.182, allocations: 163.7 kB / 3.103 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/6.182, allocations: 0.6811 MB / 3.104 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.333e-05/6.182, allocations: 11.19 kB / 3.104 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/6.182, allocations: 13.3 kB / 3.104 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/6.182, allocations: 0 / 3.104 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/6.215, allocations: 10.41 MB / 3.114 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/6.215, allocations: 203.7 kB / 3.114 GB, free: 326 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/8.065, allocations: 0 / 3.114 GB, free: 326 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)