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.001434/0.001434, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5477/0.5477, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.712/1.712, allocations: 223.1 MB / 354.3 MB, free: 12.25 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.0009271/0.000927, allocations: 98.44 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 16 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5188/0.6939, allocations: 103.2 MB / 0.6697 GB, free: 1.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.6943, allocations: 79.95 kB / 0.6698 GB, free: 1.098 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009653/0.704, allocations: 2.724 MB / 0.6725 GB, free: 14.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7041, allocations: 0 / 0.6725 GB, free: 14.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.7041, allocations: 0 / 0.6725 GB, free: 14.39 MB / 474.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.0005987/0.7047, allocations: 371.8 kB / 0.6728 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/0.7048, allocations: 11.97 kB / 0.6728 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.7049, allocations: 38.52 kB / 0.6729 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.7049, allocations: 4 kB / 0.6729 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.7051, allocations: 163.1 kB / 0.673 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.7052, allocations: 33.7 kB / 0.6731 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.7053, allocations: 3.938 kB / 0.6731 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.7054, allocations: 41.69 kB / 0.6731 GB, free: 13.63 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.7055, allocations: 0 / 0.6731 GB, free: 13.63 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.7055, allocations: 7.938 kB / 0.6731 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7055, allocations: 0 / 0.6731 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.7056, allocations: 19.98 kB / 0.6731 GB, free: 13.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.7059, allocations: 153.7 kB / 0.6733 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.7061, allocations: 50.61 kB / 0.6733 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.7065, allocations: 182.2 kB / 0.6735 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.7065, allocations: 34.56 kB / 0.6735 GB, free: 13.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.7065, allocations: 0 / 0.6735 GB, free: 13.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002973/0.7068, allocations: 69.58 kB / 0.6736 GB, free: 13.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.7069, allocations: 59.36 kB / 0.6737 GB, free: 12.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.707, allocations: 92.98 kB / 0.6737 GB, free: 12.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.707, allocations: 29.7 kB / 0.6738 GB, free: 12.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.7071, allocations: 80.14 kB / 0.6738 GB, free: 12.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.7071, allocations: 7.844 kB / 0.6739 GB, free: 12.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.7071, allocations: 0 / 0.6739 GB, free: 12.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7073, allocations: 314.8 kB / 0.6742 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.7074, allocations: 19.92 kB / 0.6742 GB, free: 12.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.7074, allocations: 11.98 kB / 0.6742 GB, free: 12.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.7075, allocations: 8 kB / 0.6742 GB, free: 12.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7075, allocations: 0 / 0.6742 GB, free: 12.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.7076, allocations: 57.59 kB / 0.6742 GB, free: 12.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.7077, allocations: 5.25 kB / 0.6743 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.7077, allocations: 4 kB / 0.6743 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7077, allocations: 3.984 kB / 0.6743 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.7078, allocations: 4 kB / 0.6743 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.7078, allocations: 4 kB / 0.6743 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.7078, allocations: 7.953 kB / 0.6743 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.7078, allocations: 3.938 kB / 0.6743 GB, free: 12.27 MB / 474.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 () * Number of clocked 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 0.0001044/0.7079, allocations: 117.8 kB / 0.6744 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.708, allocations: 0 / 0.6744 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.7082, allocations: 69.16 kB / 0.6745 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.7082, allocations: 0 / 0.6745 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7082, allocations: 4 kB / 0.6745 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7082, allocations: 0 / 0.6745 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.7084, allocations: 165.5 kB / 0.6746 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7084, allocations: 0.5625 kB / 0.6746 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.7084, allocations: 10.94 kB / 0.6746 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7084, allocations: 0 / 0.6746 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.7084, allocations: 0 / 0.6746 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.7085, allocations: 0 / 0.6746 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7085, allocations: 4 kB / 0.6746 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.7086, allocations: 96.89 kB / 0.6747 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.7087, allocations: 85.09 kB / 0.6748 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.7088, allocations: 4 kB / 0.6748 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.7088, allocations: 4 kB / 0.6748 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.7089, allocations: 0 / 0.6748 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.7089, allocations: 3.984 kB / 0.6748 GB, free: 11.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.478e-05/0.7089, allocations: 79.28 kB / 0.6749 GB, free: 11.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7089, allocations: 0 / 0.6749 GB, free: 11.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.7092, allocations: 43.94 kB / 0.6749 GB, free: 11.5 MB / 474.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 () * Number of clocked 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.0006959/0.7099, allocations: 0.6553 MB / 0.6756 GB, free: 10.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.7101, allocations: 27.98 kB / 0.6756 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7101, allocations: 4 kB / 0.6756 GB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.518e-05/0.7102, allocations: 11.98 kB / 0.6756 GB, free: 10.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.7104, allocations: 8.781 kB / 0.6756 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.7109, allocations: 188.5 kB / 0.6758 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.7112, allocations: 0.6809 MB / 0.6765 GB, free: 9.828 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.658e-05/0.7113, allocations: 11.98 kB / 0.6765 GB, free: 9.816 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.7113, allocations: 7.438 kB / 0.6765 GB, free: 9.809 MB / 474.7 MB Notification: Performance of SimCode: time 4.268e-06/0.7113, allocations: 0 / 0.6765 GB, free: 9.809 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.7278, allocations: 1.631 MB / 0.6781 GB, free: 8.316 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.7281, allocations: 182.7 kB / 0.6783 GB, free: 8.078 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.326, allocations: 3.938 kB / 0.6783 GB, free: 8.074 MB / 474.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)