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.001032/0.001032, allocations: 179.7 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.4888/0.4888, allocations: 90.81 MB / 104.5 MB, free: 13.9 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.343/1.343, allocations: 221.3 MB / 348.3 MB, free: 12.57 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.0009665/0.0009665, allocations: 107.6 kB / 421.2 MB, free: 5.656 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.308e-05, allocations: 4 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 72.31 MB / 0.5603 GB, free: 6.305 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5669, allocations: 103.5 MB / 0.6613 GB, free: 4.434 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.5672, allocations: 73.16 kB / 0.6614 GB, free: 4.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008021/0.5752, allocations: 2.55 MB / 0.6639 GB, free: 2.164 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5752, allocations: 0 / 0.6639 GB, free: 2.164 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.5753, allocations: 4 kB / 0.6639 GB, free: 2.16 MB / 458.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.000573/0.5758, allocations: 394 kB / 0.6643 GB, free: 1.734 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.5759, allocations: 11.98 kB / 0.6643 GB, free: 1.723 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.576, allocations: 37.92 kB / 0.6643 GB, free: 1.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.576, allocations: 11.86 kB / 0.6643 GB, free: 1.668 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5762, allocations: 171 kB / 0.6645 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5762, allocations: 4 kB / 0.6645 GB, free: 1.457 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.5763, allocations: 7.938 kB / 0.6645 GB, free: 1.449 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.5764, allocations: 49 kB / 0.6646 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5764, allocations: 0 / 0.6646 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5764, allocations: 3.938 kB / 0.6646 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.5765, allocations: 7.953 kB / 0.6646 GB, free: 1.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.5765, allocations: 22.81 kB / 0.6646 GB, free: 1.379 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.577, allocations: 279.1 kB / 0.6649 GB, free: 1.074 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.42e-05/0.5771, allocations: 36.19 kB / 0.6649 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.5771, allocations: 16.61 kB / 0.6649 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.5774, allocations: 101.1 kB / 0.665 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5774, allocations: 30.56 kB / 0.665 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5774, allocations: 0 / 0.665 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.000203/0.5776, allocations: 55.59 kB / 0.6651 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.5777, allocations: 55.34 kB / 0.6651 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5778, allocations: 110.5 kB / 0.6653 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.5778, allocations: 25.7 kB / 0.6653 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.5779, allocations: 94.64 kB / 0.6654 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.5779, allocations: 7.844 kB / 0.6654 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5779, allocations: 0 / 0.6654 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5781, allocations: 322.6 kB / 0.6657 GB, free: 196 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.5781, allocations: 7.625 kB / 0.6657 GB, free: 192 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.5781, allocations: 7.812 kB / 0.6657 GB, free: 188 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.5782, allocations: 4 kB / 0.6657 GB, free: 184 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5782, allocations: 4 kB / 0.6657 GB, free: 180 kB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001033/0.5783, allocations: 56.84 kB / 0.6658 GB, free: 124 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5783, allocations: 12.73 kB / 0.6658 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5783, allocations: 3.984 kB / 0.6658 GB, free: 108 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.5783, allocations: 0 / 0.6658 GB, free: 108 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.5785, allocations: 23.92 kB / 0.6658 GB, free: 84 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5785, allocations: 3.938 kB / 0.6658 GB, free: 80 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.5786, allocations: 23.59 kB / 0.6658 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.5786, allocations: 4 kB / 0.6658 GB, free: 56 kB / 458.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 (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 8.972e-05/0.5787, allocations: 105 kB / 0.6659 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.5787, allocations: 0 / 0.6659 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.5789, allocations: 64.3 kB / 0.666 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5789, allocations: 3.984 kB / 0.666 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5789, allocations: 0 / 0.666 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5789, allocations: 0 / 0.666 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.5791, allocations: 177.2 kB / 0.6662 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5791, allocations: 0 / 0.6662 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.5793, allocations: 27.91 kB / 0.6662 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5793, allocations: 4 kB / 0.6662 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.5793, allocations: 0 / 0.6662 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5793, allocations: 3.953 kB / 0.6662 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5793, allocations: 0 / 0.6662 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.5795, allocations: 146.2 kB / 0.6663 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.5796, allocations: 89.02 kB / 0.6664 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.5796, allocations: 0 / 0.6664 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.5798, allocations: 15.98 kB / 0.6664 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.5798, allocations: 7.938 kB / 0.6664 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.5798, allocations: 0 / 0.6664 GB, free: 15.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.5799, allocations: 98.84 kB / 0.6665 GB, free: 15.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5799, allocations: 0 / 0.6665 GB, free: 15.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.5802, allocations: 43.92 kB / 0.6666 GB, free: 15.22 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 () * 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.0006102/0.5808, allocations: 0.7151 MB / 0.6673 GB, free: 14.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.5809, allocations: 23.23 kB / 0.6673 GB, free: 14.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5809, allocations: 0 / 0.6673 GB, free: 14.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.581, allocations: 23.25 kB / 0.6673 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.5812, allocations: 12.38 kB / 0.6673 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.5817, allocations: 121.5 kB / 0.6674 GB, free: 14.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.582, allocations: 0.6887 MB / 0.6681 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.5821, allocations: 3.906 kB / 0.6681 GB, free: 13.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.5822, allocations: 23.23 kB / 0.6681 GB, free: 13.55 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5822, allocations: 0 / 0.6681 GB, free: 13.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.5954, allocations: 2.012 MB / 0.6701 GB, free: 11.67 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.5957, allocations: 156.7 kB / 0.6703 GB, free: 11.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/2.068, allocations: 0 / 0.6703 GB, free: 11.44 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)