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.0009913/0.0009914, allocations: 93.11 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 185.4 kB / 16.92 MB, free: 6.934 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7047/0.7047, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 9.469 kB / 496 MB, free: 6.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 77.53 MB / 0.56 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001434/0.1509, allocations: 1.004 MB / 0.561 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5162/0.6671, allocations: 143.8 MB / 0.7015 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.6672, allocations: 0 / 0.7015 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.6672, allocations: 4 kB / 0.7015 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.6673, allocations: 3.938 kB / 0.7015 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.6679, allocations: 100.8 kB / 0.7016 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.6679, allocations: 15.88 kB / 0.7016 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.668, allocations: 11.97 kB / 0.7016 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.6681, allocations: 7.938 kB / 0.7016 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.6681, allocations: 8 kB / 0.7016 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.6681, allocations: 4 kB / 0.7016 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.6687, allocations: 173.6 kB / 0.7018 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.6687, allocations: 0 / 0.7018 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.6688, allocations: 41.62 kB / 0.7018 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.6691, allocations: 110.1 kB / 0.7019 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.6691, allocations: 7.984 kB / 0.7019 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6691, allocations: 0 / 0.7019 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6691, allocations: 4 kB / 0.7019 GB, free: 5.316 MB / 0.5137 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.0003708/0.6695, allocations: 340.3 kB / 0.7022 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6696, allocations: 8.031 kB / 0.7023 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.6696, allocations: 35.5 kB / 0.7023 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/0.6704, allocations: 40.8 kB / 0.7023 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.6706, allocations: 160.4 kB / 0.7025 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.6706, allocations: 7.938 kB / 0.7025 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.6707, allocations: 0 / 0.7025 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.6709, allocations: 49.66 kB / 0.7025 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6709, allocations: 3.938 kB / 0.7025 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.671, allocations: 3.984 kB / 0.7025 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.671, allocations: 7.938 kB / 0.7025 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.6712, allocations: 15.97 kB / 0.7026 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.6717, allocations: 260.8 kB / 0.7028 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.656e-05/0.6718, allocations: 18.58 kB / 0.7028 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.6718, allocations: 12.92 kB / 0.7028 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/0.6719, allocations: 0 / 0.7028 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.6719, allocations: 42.48 kB / 0.7029 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.6719, allocations: 0 / 0.7029 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000201/0.6721, allocations: 41.7 kB / 0.7029 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.6722, allocations: 51.41 kB / 0.703 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.6724, allocations: 109.8 kB / 0.7031 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6724, allocations: 25.7 kB / 0.7031 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.6725, allocations: 88.03 kB / 0.7032 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.6725, allocations: 7.969 kB / 0.7032 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.6726, allocations: 17.72 kB / 0.7032 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6727, allocations: 318.8 kB / 0.7035 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.6728, allocations: 7.984 kB / 0.7035 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.6729, allocations: 11.98 kB / 0.7035 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.6731, allocations: 20.8 kB / 0.7036 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6731, allocations: 0 / 0.7036 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002615/0.6734, allocations: 65.66 kB / 0.7036 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6734, allocations: 4 kB / 0.7036 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6734, allocations: 0 / 0.7036 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.6734, allocations: 0 / 0.7036 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.6736, allocations: 11.98 kB / 0.7036 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6736, allocations: 0 / 0.7036 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.6738, allocations: 19.92 kB / 0.7036 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.6739, allocations: 4 kB / 0.7037 GB, free: 3.309 MB / 0.5137 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 9.252e-05/0.674, allocations: 105.8 kB / 0.7038 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.674, allocations: 4.562 kB / 0.7038 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.6741, allocations: 3.125 kB / 0.7038 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6741, allocations: 4 kB / 0.7038 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6741, allocations: 0 / 0.7038 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6741, allocations: 3.938 kB / 0.7038 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.6743, allocations: 153.7 kB / 0.7039 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6743, allocations: 2.312 kB / 0.7039 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.6744, allocations: 7.984 kB / 0.7039 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.6744, allocations: 4 kB / 0.7039 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.6744, allocations: 3.938 kB / 0.7039 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6744, allocations: 0 / 0.7039 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6744, allocations: 0 / 0.7039 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.6746, allocations: 135.4 kB / 0.7041 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.6747, allocations: 93.36 kB / 0.7042 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.6747, allocations: 4.031 kB / 0.7042 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.6749, allocations: 0 / 0.7042 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.6749, allocations: 11.97 kB / 0.7042 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.6749, allocations: 3.938 kB / 0.7042 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001458/0.6751, allocations: 95.2 kB / 0.7043 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6751, allocations: 0 / 0.7043 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004285/0.6755, allocations: 16 kB / 0.7043 GB, free: 2.582 MB / 0.5137 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.0005129/0.6761, allocations: 0.6696 MB / 0.7049 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.6763, allocations: 23.97 kB / 0.705 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6763, allocations: 0 / 0.705 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.6763, allocations: 7.969 kB / 0.705 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.6768, allocations: 16 kB / 0.705 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.6773, allocations: 172.7 kB / 0.7051 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.6775, allocations: 0.6731 MB / 0.7058 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.314e-05/0.6776, allocations: 8 kB / 0.7058 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.6777, allocations: 11.42 kB / 0.7058 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.6777, allocations: 0 / 0.7058 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.6882, allocations: 1.382 MB / 0.7072 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.6884, allocations: 209.8 kB / 0.7074 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.475, allocations: 0 / 0.7074 GB, free: 15.45 MB / 0.5294 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)