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.001275/0.001275, allocations: 100.1 kB / 15.88 MB, free: 12 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.001325/0.001325, allocations: 203.3 kB / 16.79 MB, free: 6.84 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.256/1.256, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6566/0.6566, allocations: 115.3 MB / 406 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.17 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1272, allocations: 76.19 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002452/0.1296, allocations: 1.331 MB / 0.5572 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3598/0.4895, allocations: 145.3 MB / 0.6991 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.4897, allocations: 0 / 0.6991 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.4897, allocations: 0 / 0.6991 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.087e-05/0.4898, allocations: 7.938 kB / 0.6991 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.4905, allocations: 96.11 kB / 0.6992 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.4906, allocations: 23.81 kB / 0.6992 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.4906, allocations: 0 / 0.6992 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.4907, allocations: 7.984 kB / 0.6992 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.4907, allocations: 11.98 kB / 0.6992 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.4908, allocations: 3.938 kB / 0.6992 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.4913, allocations: 186 kB / 0.6994 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.4913, allocations: 0 / 0.6994 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.4913, allocations: 4 kB / 0.6994 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.4916, allocations: 110.1 kB / 0.6995 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4916, allocations: 0 / 0.6995 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.113e-06/0.4916, allocations: 0 / 0.6995 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.4916, allocations: 4 kB / 0.6995 GB, free: 3.824 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.000413/0.492, allocations: 352.3 kB / 0.6999 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4921, allocations: 15.97 kB / 0.6999 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.4921, allocations: 36.55 kB / 0.6999 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.4928, allocations: 44.73 kB / 0.6999 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.4929, allocations: 164.4 kB / 0.7001 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4929, allocations: 3.938 kB / 0.7001 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.4929, allocations: 4 kB / 0.7001 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4931, allocations: 49.66 kB / 0.7002 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4931, allocations: 0 / 0.7002 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4932, allocations: 4 kB / 0.7002 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4932, allocations: 0 / 0.7002 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.4933, allocations: 15.98 kB / 0.7002 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.4938, allocations: 252.9 kB / 0.7004 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.4939, allocations: 30.52 kB / 0.7005 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.4939, allocations: 4.922 kB / 0.7005 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.4939, allocations: 4 kB / 0.7005 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.494, allocations: 34.56 kB / 0.7005 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.494, allocations: 0 / 0.7005 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001793/0.4941, allocations: 45.62 kB / 0.7005 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.4942, allocations: 55.41 kB / 0.7006 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4944, allocations: 113.8 kB / 0.7007 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.4944, allocations: 25.7 kB / 0.7007 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.4945, allocations: 84.05 kB / 0.7008 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4945, allocations: 11.84 kB / 0.7008 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.4946, allocations: 25.69 kB / 0.7008 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4947, allocations: 318.9 kB / 0.7011 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.4948, allocations: 7.984 kB / 0.7011 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.4948, allocations: 8 kB / 0.7012 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.4949, allocations: 20.84 kB / 0.7012 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4949, allocations: 0 / 0.7012 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002133/0.4952, allocations: 70.28 kB / 0.7012 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4952, allocations: 4 kB / 0.7012 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4952, allocations: 0 / 0.7012 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4952, allocations: 0 / 0.7012 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.4954, allocations: 11.98 kB / 0.7013 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4954, allocations: 0 / 0.7013 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.4955, allocations: 15.88 kB / 0.7013 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4956, allocations: 11.92 kB / 0.7013 GB, free: 1.789 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 7.691e-05/0.4957, allocations: 109.8 kB / 0.7014 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.4957, allocations: 336 / 0.7014 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.4957, allocations: 7.125 kB / 0.7014 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4957, allocations: 0 / 0.7014 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.4957, allocations: 3.984 kB / 0.7014 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4957, allocations: 7.875 kB / 0.7014 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.4959, allocations: 153.7 kB / 0.7016 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4959, allocations: 0 / 0.7016 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.496, allocations: 4 kB / 0.7016 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.496, allocations: 4 kB / 0.7016 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.496, allocations: 0 / 0.7016 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.496, allocations: 0 / 0.7016 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.496, allocations: 3.984 kB / 0.7016 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.4961, allocations: 143.3 kB / 0.7017 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.4962, allocations: 77.11 kB / 0.7018 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.4962, allocations: 0 / 0.7018 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4963, allocations: 12.02 kB / 0.7018 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.4963, allocations: 4 kB / 0.7018 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4963, allocations: 3.938 kB / 0.7018 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.981e-05/0.4964, allocations: 87.27 kB / 0.7019 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4965, allocations: 0 / 0.7019 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002584/0.4967, allocations: 20 kB / 0.7019 GB, free: 1.07 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.0004968/0.4972, allocations: 0.6773 MB / 0.7026 GB, free: 376 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.4974, allocations: 19.98 kB / 0.7026 GB, free: 356 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4974, allocations: 0 / 0.7026 GB, free: 356 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.4974, allocations: 4 kB / 0.7026 GB, free: 352 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.4978, allocations: 19.19 kB / 0.7026 GB, free: 336 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.4982, allocations: 175.4 kB / 0.7028 GB, free: 124 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.4985, allocations: 0.677 MB / 0.7034 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.821e-05/0.4986, allocations: 8 kB / 0.7034 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.4986, allocations: 7.438 kB / 0.7034 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.4986, allocations: 0 / 0.7034 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3101/0.8087, allocations: 1.429 MB / 0.7048 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/0.809, allocations: 218 kB / 0.705 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.897, allocations: 3.938 kB / 0.7051 GB, free: 13.85 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)