Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001717/0.001717, allocations: 178 kB / 371.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009812/0.0009812, allocations: 89.34 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.586e-05, allocations: 8 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2954, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.849/5.144, allocations: 2.056 GB / 3.036 GB, free: 186.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/5.145, allocations: 94.25 kB / 3.036 GB, free: 186.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04923/5.194, allocations: 27.02 MB / 3.062 GB, free: 159.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.242e-06/5.194, allocations: 0 / 3.062 GB, free: 159.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.991e-06/5.194, allocations: 4 kB / 3.062 GB, free: 159.7 MB / 0.948 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.0002399/5.194, allocations: 352.5 kB / 3.063 GB, free: 159.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/5.194, allocations: 12.03 kB / 3.063 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/5.194, allocations: 30.56 kB / 3.063 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/5.195, allocations: 41.22 kB / 3.063 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.538e-05/5.195, allocations: 163 kB / 3.063 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/5.195, allocations: 0 / 3.063 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/5.195, allocations: 7.984 kB / 3.063 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/5.195, allocations: 41.67 kB / 3.063 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/5.195, allocations: 0 / 3.063 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/5.195, allocations: 0 / 3.063 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/5.195, allocations: 0 / 3.063 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/5.195, allocations: 19.94 kB / 3.063 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/5.195, allocations: 251.3 kB / 3.063 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/5.195, allocations: 30.52 kB / 3.063 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/5.195, allocations: 8.922 kB / 3.063 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/5.195, allocations: 0 / 3.063 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/5.195, allocations: 34.55 kB / 3.063 GB, free: 158.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/5.195, allocations: 0.75 kB / 3.063 GB, free: 158.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001162/5.196, allocations: 45.66 kB / 3.063 GB, free: 158.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/5.196, allocations: 51.41 kB / 3.064 GB, free: 158.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/5.196, allocations: 101 kB / 3.064 GB, free: 158.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/5.196, allocations: 25.7 kB / 3.064 GB, free: 158.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/5.196, allocations: 88.86 kB / 3.064 GB, free: 158.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-06/5.196, allocations: 15 kB / 3.064 GB, free: 158.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/5.196, allocations: 0 / 3.064 GB, free: 158.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/5.196, allocations: 315.6 kB / 3.064 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/5.196, allocations: 8.031 kB / 3.064 GB, free: 157.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/5.196, allocations: 7.984 kB / 3.064 GB, free: 157.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/5.196, allocations: 4 kB / 3.064 GB, free: 157.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/5.196, allocations: 0 / 3.064 GB, free: 157.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.973e-05/5.196, allocations: 57.58 kB / 3.064 GB, free: 157.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/5.196, allocations: 4 kB / 3.064 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/5.196, allocations: 0 / 3.064 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/5.196, allocations: 0.75 kB / 3.064 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/5.196, allocations: 15.94 kB / 3.064 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/5.196, allocations: 4 kB / 3.064 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/5.196, allocations: 7.984 kB / 3.064 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/5.196, allocations: 0.7812 kB / 3.064 GB, free: 157.8 MB / 0.948 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 (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 4.096e-05/5.196, allocations: 114.6 kB / 3.064 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/5.196, allocations: 0 / 3.064 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/5.196, allocations: 3.125 kB / 3.064 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/5.196, allocations: 0.9375 kB / 3.064 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/5.196, allocations: 3.953 kB / 3.064 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/5.196, allocations: 8.328 kB / 3.064 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/5.197, allocations: 149.7 kB / 3.064 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/5.197, allocations: 4 kB / 3.064 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/5.197, allocations: 3.984 kB / 3.064 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/5.197, allocations: 3.984 kB / 3.064 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/5.197, allocations: 0 / 3.064 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/5.197, allocations: 4 kB / 3.064 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/5.197, allocations: 0 / 3.064 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.168e-05/5.197, allocations: 136.7 kB / 3.065 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/5.197, allocations: 91.95 kB / 3.065 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/5.197, allocations: 0 / 3.065 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/5.197, allocations: 3.938 kB / 3.065 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/5.197, allocations: 3.984 kB / 3.065 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/5.197, allocations: 4 kB / 3.065 GB, free: 157.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.184e-05/5.197, allocations: 83.28 kB / 3.065 GB, free: 157.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.197, allocations: 0 / 3.065 GB, free: 157.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003416/5.197, allocations: 55.94 kB / 3.065 GB, free: 157 MB / 0.948 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 (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.0007959/5.198, allocations: 1.121 MB / 3.066 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.046e-05/5.198, allocations: 27.92 kB / 3.066 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/5.198, allocations: 0 / 3.066 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/5.198, allocations: 4 kB / 3.066 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/5.198, allocations: 5.5 kB / 3.066 GB, free: 155.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/5.199, allocations: 94.64 kB / 3.066 GB, free: 155.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/5.199, allocations: 0.677 MB / 3.067 GB, free: 155 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.536e-05/5.199, allocations: 20.7 kB / 3.067 GB, free: 155 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/5.199, allocations: 7.438 kB / 3.067 GB, free: 155 MB / 0.948 GB Notification: Performance of SimCode: time 4.9e-07/5.199, allocations: 4 kB / 3.067 GB, free: 155 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04137/5.24, allocations: 12.11 MB / 3.079 GB, free: 143 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/5.24, allocations: 169.1 kB / 3.079 GB, free: 142.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/7.579, allocations: 0 / 3.079 GB, free: 142.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)