Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5967/0.5967, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.3 MB / 348.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008689/0.0008689, allocations: 108.1 kB / 421.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.899e-05, allocations: 4 kB / 0.4897 GB, free: 5.285 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3722, allocations: 72.29 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4937, allocations: 103.1 MB / 0.661 GB, free: 1.172 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.494, allocations: 80.7 kB / 0.6611 GB, free: 1.094 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008425/0.5024, allocations: 2.717 MB / 0.6638 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5025, allocations: 0 / 0.6638 GB, free: 14.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.5025, allocations: 0 / 0.6638 GB, free: 14.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003631/0.5028, allocations: 358.4 kB / 0.6641 GB, free: 14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5029, allocations: 17.2 kB / 0.6641 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.5029, allocations: 38.52 kB / 0.6642 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.503, allocations: 7.906 kB / 0.6642 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5031, allocations: 163 kB / 0.6643 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.5032, allocations: 29.7 kB / 0.6644 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.5032, allocations: 0 / 0.6644 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.5033, allocations: 41.69 kB / 0.6644 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5033, allocations: 0 / 0.6644 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.5033, allocations: 3.953 kB / 0.6644 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5033, allocations: 4 kB / 0.6644 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.5034, allocations: 12 kB / 0.6644 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.5035, allocations: 161.7 kB / 0.6646 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.5037, allocations: 46.55 kB / 0.6646 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.5037, allocations: 17.8 kB / 0.6646 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.504, allocations: 182.3 kB / 0.6648 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.504, allocations: 30.56 kB / 0.6648 GB, free: 13.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.504, allocations: 0 / 0.6648 GB, free: 13.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001342/0.5042, allocations: 49.69 kB / 0.6649 GB, free: 13.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.5042, allocations: 55.36 kB / 0.6649 GB, free: 12.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.5043, allocations: 97.03 kB / 0.665 GB, free: 12.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.5043, allocations: 25.7 kB / 0.6651 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.5043, allocations: 80.14 kB / 0.6651 GB, free: 12.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.5044, allocations: 27.67 kB / 0.6652 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.5044, allocations: 6.344 kB / 0.6652 GB, free: 12.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.5045, allocations: 310.8 kB / 0.6655 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.5045, allocations: 4 kB / 0.6655 GB, free: 12.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.5045, allocations: 8 kB / 0.6655 GB, free: 12.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.204e-05/0.5045, allocations: 4 kB / 0.6655 GB, free: 12.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5045, allocations: 0 / 0.6655 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.303e-05/0.5046, allocations: 53.69 kB / 0.6655 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5046, allocations: 7.938 kB / 0.6655 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5047, allocations: 0 / 0.6655 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5047, allocations: 4 kB / 0.6655 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.5047, allocations: 11.98 kB / 0.6656 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5047, allocations: 0 / 0.6656 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.5048, allocations: 7.953 kB / 0.6656 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.5048, allocations: 0 / 0.6656 GB, free: 12.3 MB / 490.7 MB 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 (4): * Single equations (assignments): 4 * 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 6.282e-05/0.5049, allocations: 104.9 kB / 0.6657 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.5049, allocations: 7.906 kB / 0.6657 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.505, allocations: 61.17 kB / 0.6657 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.505, allocations: 4 kB / 0.6657 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.505, allocations: 0 / 0.6657 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.505, allocations: 0 / 0.6657 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.212e-05/0.5051, allocations: 157.6 kB / 0.6659 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5051, allocations: 0 / 0.6659 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.5052, allocations: 8 kB / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5052, allocations: 0 / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.5052, allocations: 7.984 kB / 0.6659 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5052, allocations: 1.219 kB / 0.6659 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5052, allocations: 7.938 kB / 0.6659 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.667e-05/0.5053, allocations: 77.08 kB / 0.666 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.5054, allocations: 85.02 kB / 0.6661 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.5054, allocations: 0 / 0.6661 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.5054, allocations: 8.547 kB / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.5055, allocations: 0 / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.5055, allocations: 4 kB / 0.6661 GB, free: 11.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.738e-05/0.5055, allocations: 75.7 kB / 0.6661 GB, free: 11.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5055, allocations: 0 / 0.6661 GB, free: 11.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.5058, allocations: 47.92 kB / 0.6662 GB, free: 11.56 MB / 490.7 MB 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 (4): * Single equations (assignments): 4 * 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.0004219/0.5062, allocations: 0.657 MB / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.162e-05/0.5063, allocations: 20 kB / 0.6668 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5063, allocations: 0.6562 kB / 0.6668 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.425e-05/0.5063, allocations: 19.94 kB / 0.6669 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.5065, allocations: 7.984 kB / 0.6669 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.5067, allocations: 115.8 kB / 0.667 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.5069, allocations: 0.6809 MB / 0.6677 GB, free: 9.973 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.647e-05/0.507, allocations: 13.09 kB / 0.6677 GB, free: 9.965 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.507, allocations: 11.42 kB / 0.6677 GB, free: 9.953 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.507, allocations: 0 / 0.6677 GB, free: 9.953 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.518, allocations: 1.622 MB / 0.6693 GB, free: 8.492 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.5182, allocations: 166.3 kB / 0.6694 GB, free: 8.262 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.959, allocations: 3.938 kB / 0.6694 GB, free: 8.258 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)