Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.61/2.61, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.002069/0.002069, allocations: 182.5 kB / 371 MB, free: 10.88 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.121/2.121, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009944/0.0009942, allocations: 98.34 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004916, allocations: 11.84 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 115.3 MB / 0.9785 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001537/0.2315, allocations: 1.002 MB / 0.9794 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8959/1.127, allocations: 134.1 MB / 1.11 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/1.128, allocations: 0 / 1.11 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/1.128, allocations: 0.6562 kB / 1.11 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/1.128, allocations: 8.594 kB / 1.11 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/1.128, allocations: 107 kB / 1.11 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.944e-05/1.128, allocations: 16.39 kB / 1.11 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/1.128, allocations: 4.656 kB / 1.11 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/1.128, allocations: 9.156 kB / 1.11 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/1.128, allocations: 7.234 kB / 1.11 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/1.128, allocations: 1 kB / 1.11 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006104/1.129, allocations: 171.5 kB / 1.111 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/1.129, allocations: 8.891 kB / 1.111 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/1.129, allocations: 30.86 kB / 1.111 GB, free: 17.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/1.129, allocations: 77.23 kB / 1.111 GB, free: 17.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.13, allocations: 0 / 1.111 GB, free: 17.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.13, allocations: 1.594 kB / 1.111 GB, free: 17.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.829e-06/1.13, allocations: 0 / 1.111 GB, free: 17.89 MB / 0.698 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.0003879/1.13, allocations: 346 kB / 1.111 GB, free: 17.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.13, allocations: 13.2 kB / 1.111 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/1.13, allocations: 32.55 kB / 1.111 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/1.131, allocations: 45.17 kB / 1.111 GB, free: 17.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/1.131, allocations: 163.7 kB / 1.111 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/1.131, allocations: 1.562 kB / 1.111 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/1.131, allocations: 0 / 1.111 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/1.131, allocations: 51.62 kB / 1.111 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.131, allocations: 0 / 1.111 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.131, allocations: 5.219 kB / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/1.131, allocations: 0 / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/1.132, allocations: 24.16 kB / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/1.132, allocations: 247.1 kB / 1.112 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/1.132, allocations: 23.66 kB / 1.112 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/1.132, allocations: 17.47 kB / 1.112 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-06/1.132, allocations: 2.547 kB / 1.112 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.132, allocations: 34.5 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.655e-06/1.132, allocations: 3.984 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/1.132, allocations: 44.58 kB / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.133, allocations: 53.45 kB / 1.112 GB, free: 16.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.133, allocations: 111.8 kB / 1.112 GB, free: 16.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/1.133, allocations: 25.7 kB / 1.112 GB, free: 16.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/1.133, allocations: 92.05 kB / 1.112 GB, free: 16.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/1.133, allocations: 8.453 kB / 1.112 GB, free: 16.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/1.133, allocations: 1.281 kB / 1.112 GB, free: 16.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.133, allocations: 318.7 kB / 1.112 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/1.133, allocations: 8.672 kB / 1.112 GB, free: 16.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/1.133, allocations: 17.44 kB / 1.112 GB, free: 16.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.133, allocations: 9.719 kB / 1.112 GB, free: 16.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.133, allocations: 0 / 1.112 GB, free: 16.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003086/1.134, allocations: 56.17 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.134, allocations: 7.453 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.134, allocations: 0.9688 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.134, allocations: 0.6562 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/1.134, allocations: 17.56 kB / 1.112 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.134, allocations: 1.219 kB / 1.112 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/1.134, allocations: 7.656 kB / 1.112 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/1.134, allocations: 1.875 kB / 1.112 GB, free: 16.2 MB / 0.698 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 0.0001019/1.134, allocations: 115.3 kB / 1.113 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/1.134, allocations: 1.828 kB / 1.113 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/1.134, allocations: 4.812 kB / 1.113 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.134, allocations: 4 kB / 1.113 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.134, allocations: 5.297 kB / 1.113 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.134, allocations: 0.6562 kB / 1.113 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/1.135, allocations: 154.5 kB / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.135, allocations: 0 / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/1.135, allocations: 2.719 kB / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.135, allocations: 1.859 kB / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.135, allocations: 0 / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.135, allocations: 1.859 kB / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.135, allocations: 1.766 kB / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/1.135, allocations: 140.8 kB / 1.113 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/1.135, allocations: 85.44 kB / 1.113 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/1.135, allocations: 1.688 kB / 1.113 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.135, allocations: 3.828 kB / 1.113 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/1.135, allocations: 4.5 kB / 1.113 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/1.135, allocations: 7.688 kB / 1.113 GB, free: 15.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001453/1.135, allocations: 92.56 kB / 1.113 GB, free: 15.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.135, allocations: 0 / 1.113 GB, free: 15.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000342/1.136, allocations: 17.56 kB / 1.113 GB, free: 15.56 MB / 0.698 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.000583/1.136, allocations: 0.6742 MB / 1.114 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002006/1.137, allocations: 23.53 kB / 1.114 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.881e-05/1.137, allocations: 4.969 kB / 1.114 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/1.137, allocations: 7.688 kB / 1.114 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/1.137, allocations: 9.578 kB / 1.114 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/1.138, allocations: 167.7 kB / 1.114 GB, free: 14.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/1.138, allocations: 0.6752 MB / 1.115 GB, free: 14.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001262/1.138, allocations: 11.73 kB / 1.115 GB, free: 14.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/1.138, allocations: 10.08 kB / 1.115 GB, free: 14.03 MB / 0.698 GB Notification: Performance of SimCode: time 2.354e-06/1.138, allocations: 0 / 1.115 GB, free: 14.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/1.162, allocations: 1.393 MB / 1.116 GB, free: 13.88 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/1.162, allocations: 209.9 kB / 1.116 GB, free: 13.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.548, allocations: 0 / 1.116 GB, free: 13.64 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)