Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_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.00138/0.001379, allocations: 184.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5052/0.5052, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.623/1.623, allocations: 223.2 MB / 354.3 MB, free: 10.51 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.001289/0.001289, allocations: 88.34 kB / 427.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 8 kB / 0.4983 GB, free: 42.03 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1584, allocations: 72.31 MB / 0.5689 GB, free: 1.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6487, allocations: 103.5 MB / 0.67 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.649, allocations: 79.97 kB / 0.6701 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008325/0.6573, allocations: 2.559 MB / 0.6726 GB, free: 14.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6573, allocations: 0 / 0.6726 GB, free: 14.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.6574, allocations: 0 / 0.6726 GB, free: 14.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005789/0.658, allocations: 413.4 kB / 0.673 GB, free: 13.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.658, allocations: 8.031 kB / 0.673 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.6581, allocations: 34.55 kB / 0.673 GB, free: 13.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.6581, allocations: 7.953 kB / 0.673 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.6582, allocations: 171 kB / 0.6732 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6583, allocations: 3.984 kB / 0.6732 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.6583, allocations: 0 / 0.6732 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.6586, allocations: 93.58 kB / 0.6733 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6586, allocations: 0 / 0.6733 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6586, allocations: 0 / 0.6733 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6586, allocations: 3.953 kB / 0.6733 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.6589, allocations: 95.86 kB / 0.6734 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.6594, allocations: 284.8 kB / 0.6736 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.6596, allocations: 70.47 kB / 0.6737 GB, free: 12.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.6598, allocations: 93.19 kB / 0.6738 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6598, allocations: 38.52 kB / 0.6738 GB, free: 12.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6598, allocations: 0 / 0.6738 GB, free: 12.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005822/0.6604, allocations: 161.5 kB / 0.674 GB, free: 12.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.6605, allocations: 63.34 kB / 0.6741 GB, free: 12.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.6606, allocations: 109.5 kB / 0.6742 GB, free: 12.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.6606, allocations: 25.7 kB / 0.6742 GB, free: 12.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.6607, allocations: 84.14 kB / 0.6743 GB, free: 12.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.6607, allocations: 19.8 kB / 0.6743 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.6607, allocations: 0 / 0.6743 GB, free: 12.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6608, allocations: 310.8 kB / 0.6746 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.661, allocations: 43.97 kB / 0.6746 GB, free: 11.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.6612, allocations: 43.95 kB / 0.6747 GB, free: 11.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.6613, allocations: 39.97 kB / 0.6747 GB, free: 11.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6613, allocations: 0 / 0.6747 GB, free: 11.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003205/0.6617, allocations: 121.6 kB / 0.6748 GB, free: 11.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6617, allocations: 8 kB / 0.6748 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.6617, allocations: 4.766 kB / 0.6748 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6617, allocations: 0 / 0.6748 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.6618, allocations: 23.98 kB / 0.6749 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6619, allocations: 3.938 kB / 0.6749 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-05/0.662, allocations: 15.98 kB / 0.6749 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.662, allocations: 4 kB / 0.6749 GB, free: 11.68 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 (3): * Single equations (assignments): 3 * 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 9.324e-05/0.6621, allocations: 117.8 kB / 0.675 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.6621, allocations: 3.906 kB / 0.675 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.6625, allocations: 129.5 kB / 0.6751 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6625, allocations: 7.891 kB / 0.6751 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6625, allocations: 4 kB / 0.6751 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6625, allocations: 0 / 0.6751 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.6627, allocations: 170 kB / 0.6753 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6627, allocations: 3.938 kB / 0.6753 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.6628, allocations: 19.98 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6628, allocations: 4 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6629, allocations: 0 / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6629, allocations: 3.938 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6629, allocations: 3.953 kB / 0.6753 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.6633, allocations: 227.4 kB / 0.6755 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.6633, allocations: 77.11 kB / 0.6756 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.6633, allocations: 0 / 0.6756 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6635, allocations: 19.98 kB / 0.6756 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.6635, allocations: 19.88 kB / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.6636, allocations: 0 / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.6636, allocations: 94 kB / 0.6757 GB, free: 10.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6636, allocations: 0 / 0.6757 GB, free: 10.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.6639, allocations: 35.94 kB / 0.6758 GB, free: 10.66 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 (3): * Single equations (assignments): 3 * 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.0008298/0.6648, allocations: 0.7904 MB / 0.6765 GB, free: 9.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.6651, allocations: 87.92 kB / 0.6766 GB, free: 9.754 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6651, allocations: 0 / 0.6766 GB, free: 9.754 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.6653, allocations: 55.95 kB / 0.6767 GB, free: 9.699 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.6655, allocations: 7.938 kB / 0.6767 GB, free: 9.691 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.6667, allocations: 0.5813 MB / 0.6773 GB, free: 9.062 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.6669, allocations: 0.6848 MB / 0.6779 GB, free: 8.352 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.819e-05/0.667, allocations: 4 kB / 0.6779 GB, free: 8.348 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.6671, allocations: 23.38 kB / 0.678 GB, free: 8.324 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6671, allocations: 4 kB / 0.678 GB, free: 8.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.6822, allocations: 2.015 MB / 0.6799 GB, free: 6.438 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.6825, allocations: 184.3 kB / 0.6801 GB, free: 6.188 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.348, allocations: 3.938 kB / 0.6801 GB, free: 6.184 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)