Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 104.6 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001206, allocations: 188.6 kB / 17.19 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6741/0.6741, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2754, allocations: 77.92 MB / 0.5673 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001905/0.2773, allocations: 1.283 MB / 0.5685 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1261/0.4034, allocations: 147.6 MB / 0.7127 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.4035, allocations: 0 / 0.7127 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.4035, allocations: 0 / 0.7127 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.932e-05/0.4036, allocations: 3.938 kB / 0.7127 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4039, allocations: 123.4 kB / 0.7128 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.306e-05/0.404, allocations: 15.88 kB / 0.7129 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.404, allocations: 7.984 kB / 0.7129 GB, free: 5.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.4041, allocations: 7.984 kB / 0.7129 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.4041, allocations: 15.94 kB / 0.7129 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.4041, allocations: 0 / 0.7129 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.4045, allocations: 171.6 kB / 0.713 GB, free: 4.961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.4045, allocations: 4 kB / 0.7131 GB, free: 4.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.4045, allocations: 8 kB / 0.7131 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.4047, allocations: 114 kB / 0.7132 GB, free: 4.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4047, allocations: 0 / 0.7132 GB, free: 4.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4047, allocations: 0 / 0.7132 GB, free: 4.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.4047, allocations: 0 / 0.7132 GB, free: 4.84 MB / 0.545 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.0002814/0.405, allocations: 351.4 kB / 0.7135 GB, free: 4.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.4051, allocations: 12.62 kB / 0.7135 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.4051, allocations: 34.73 kB / 0.7135 GB, free: 4.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.4056, allocations: 36.89 kB / 0.7136 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.4057, allocations: 168.1 kB / 0.7137 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.4057, allocations: 0 / 0.7137 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.4057, allocations: 7.938 kB / 0.7138 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.4058, allocations: 49.66 kB / 0.7138 GB, free: 4.094 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.4059, allocations: 4 kB / 0.7138 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.4059, allocations: 0 / 0.7138 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.4059, allocations: 0 / 0.7138 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.406, allocations: 11.98 kB / 0.7138 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.4063, allocations: 260.9 kB / 0.7141 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.4064, allocations: 26.45 kB / 0.7141 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.4064, allocations: 12.92 kB / 0.7141 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.4064, allocations: 0 / 0.7141 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.4064, allocations: 34.56 kB / 0.7141 GB, free: 3.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4064, allocations: 0 / 0.7141 GB, free: 3.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.4065, allocations: 45.69 kB / 0.7142 GB, free: 3.629 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.4066, allocations: 55.44 kB / 0.7142 GB, free: 3.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.4067, allocations: 113.8 kB / 0.7143 GB, free: 3.441 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.4067, allocations: 25.7 kB / 0.7144 GB, free: 3.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.4068, allocations: 88.02 kB / 0.7144 GB, free: 3.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.4068, allocations: 7.906 kB / 0.7145 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.4068, allocations: 21.69 kB / 0.7145 GB, free: 3.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.4069, allocations: 314.8 kB / 0.7148 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/0.407, allocations: 15.98 kB / 0.7148 GB, free: 2.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/0.407, allocations: 8 kB / 0.7148 GB, free: 2.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.4071, allocations: 20.84 kB / 0.7148 GB, free: 2.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4071, allocations: 0 / 0.7148 GB, free: 2.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001739/0.4073, allocations: 65.66 kB / 0.7149 GB, free: 2.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.4073, allocations: 4 kB / 0.7149 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4073, allocations: 4 kB / 0.7149 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4073, allocations: 0 / 0.7149 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.4075, allocations: 19.86 kB / 0.7149 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4075, allocations: 0 / 0.7149 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4076, allocations: 11.84 kB / 0.7149 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.4076, allocations: 8.312 kB / 0.7149 GB, free: 2.805 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.4077, allocations: 109.8 kB / 0.715 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4077, allocations: 0 / 0.715 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.4077, allocations: 7.125 kB / 0.715 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4077, allocations: 7.984 kB / 0.715 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.4077, allocations: 0 / 0.715 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4078, allocations: 3.938 kB / 0.715 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4079, allocations: 153.7 kB / 0.7152 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4079, allocations: 0 / 0.7152 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.4079, allocations: 0 / 0.7152 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.4079, allocations: 4 kB / 0.7152 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.4079, allocations: 4 kB / 0.7152 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4079, allocations: 0 / 0.7152 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4079, allocations: 3.984 kB / 0.7152 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.408, allocations: 135.4 kB / 0.7153 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.4081, allocations: 81.11 kB / 0.7154 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4081, allocations: 3.984 kB / 0.7154 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.4082, allocations: 0 / 0.7154 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.4082, allocations: 15.91 kB / 0.7154 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.4082, allocations: 0 / 0.7154 GB, free: 2.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.601e-05/0.4083, allocations: 91.27 kB / 0.7155 GB, free: 2.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4083, allocations: 0 / 0.7155 GB, free: 2.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002213/0.4086, allocations: 16 kB / 0.7155 GB, free: 2.09 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003364/0.4089, allocations: 0.6812 MB / 0.7162 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.409, allocations: 19.92 kB / 0.7162 GB, free: 1.363 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.409, allocations: 0 / 0.7162 GB, free: 1.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.4091, allocations: 8 kB / 0.7162 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4093, allocations: 11.92 kB / 0.7162 GB, free: 1.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.4097, allocations: 160.8 kB / 0.7164 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.4099, allocations: 0.6768 MB / 0.7171 GB, free: 452 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.501e-05/0.41, allocations: 19.86 kB / 0.7171 GB, free: 432 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.41, allocations: 11.44 kB / 0.7171 GB, free: 420 kB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.41, allocations: 0 / 0.7171 GB, free: 420 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.5262, allocations: 1.553 MB / 0.7186 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.22, allocations: 4.359 kB / 0.7186 GB, free: 14.97 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)