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/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: translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 95.33 kB / 15.68 MB, free: 488 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.0009836/0.0009837, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.288/1.288, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6672/0.6672, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 16 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001071/0.1293, allocations: 0.9706 MB / 0.5578 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.1303, allocations: 0.7318 MB / 0.5585 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.1303, allocations: 0 / 0.5585 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.1304, allocations: 7.938 kB / 0.5585 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.349e-05/0.1304, allocations: 3.984 kB / 0.5585 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.1308, allocations: 111.6 kB / 0.5586 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.924e-05/0.1308, allocations: 19.97 kB / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.1309, allocations: 4 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.208e-05/0.1309, allocations: 7.938 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.131, allocations: 11.98 kB / 0.5587 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.131, allocations: 8 kB / 0.5587 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.1313, allocations: 171.8 kB / 0.5588 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.1313, allocations: 11.97 kB / 0.5588 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.1314, allocations: 33.64 kB / 0.5589 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1315, allocations: 84.08 kB / 0.559 GB, free: 9.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1315, allocations: 0 / 0.559 GB, free: 9.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1315, allocations: 0 / 0.559 GB, free: 9.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1315, allocations: 0 / 0.559 GB, free: 9.438 MB / 430.1 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.0003486/0.1319, allocations: 355.3 kB / 0.5593 GB, free: 9.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1319, allocations: 20.02 kB / 0.5593 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.132, allocations: 3.906 kB / 0.5593 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.1321, allocations: 159.1 kB / 0.5595 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.1321, allocations: 29.7 kB / 0.5595 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1321, allocations: 3.953 kB / 0.5595 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1323, allocations: 49.67 kB / 0.5595 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.1323, allocations: 0 / 0.5595 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1323, allocations: 0 / 0.5595 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1323, allocations: 0 / 0.5595 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.1324, allocations: 27.92 kB / 0.5596 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.1325, allocations: 153.7 kB / 0.5597 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1327, allocations: 46.56 kB / 0.5598 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.133, allocations: 178.2 kB / 0.5599 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.133, allocations: 46.52 kB / 0.56 GB, free: 8.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.133, allocations: 0 / 0.56 GB, free: 8.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002183/0.1333, allocations: 65.8 kB / 0.56 GB, free: 8.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.1333, allocations: 55.41 kB / 0.5601 GB, free: 8.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.687e-05/0.1334, allocations: 101.8 kB / 0.5602 GB, free: 7.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1334, allocations: 25.7 kB / 0.5602 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.1334, allocations: 84.12 kB / 0.5603 GB, free: 7.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1334, allocations: 15.81 kB / 0.5603 GB, free: 7.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.1334, allocations: 0 / 0.5603 GB, free: 7.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.1335, allocations: 314.8 kB / 0.5606 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.1336, allocations: 11.98 kB / 0.5606 GB, free: 7.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.1336, allocations: 4 kB / 0.5606 GB, free: 7.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.597e-05/0.1337, allocations: 15.98 kB / 0.5606 GB, free: 7.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1337, allocations: 0 / 0.5606 GB, free: 7.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001272/0.1338, allocations: 53.62 kB / 0.5607 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1338, allocations: 12 kB / 0.5607 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1339, allocations: 3.953 kB / 0.5607 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.1339, allocations: 0 / 0.5607 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.1339, allocations: 11.98 kB / 0.5607 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1339, allocations: 0 / 0.5607 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.134, allocations: 3.938 kB / 0.5607 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.134, allocations: 4 kB / 0.5607 GB, free: 7.363 MB / 430.1 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 6.051e-05/0.1341, allocations: 111.7 kB / 0.5608 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.1341, allocations: 3.906 kB / 0.5608 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.1342, allocations: 73.11 kB / 0.5609 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1343, allocations: 3.953 kB / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1343, allocations: 0 / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1343, allocations: 0 / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.371e-05/0.1344, allocations: 161.7 kB / 0.5611 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1344, allocations: 0 / 0.5611 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.1344, allocations: 7.984 kB / 0.5611 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1344, allocations: 0 / 0.5611 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1345, allocations: 8 kB / 0.5611 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1345, allocations: 4 kB / 0.5611 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1345, allocations: 3.953 kB / 0.5611 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1346, allocations: 81.11 kB / 0.5612 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.1347, allocations: 81.11 kB / 0.5612 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1347, allocations: 0 / 0.5612 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.1347, allocations: 7.984 kB / 0.5613 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.1348, allocations: 7.891 kB / 0.5613 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.1348, allocations: 11.94 kB / 0.5613 GB, free: 6.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.1348, allocations: 83.64 kB / 0.5614 GB, free: 6.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 0.5614 GB, free: 6.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.1351, allocations: 35.92 kB / 0.5614 GB, free: 6.586 MB / 430.1 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.0001958/0.1353, allocations: 131.9 kB / 0.5615 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1354, allocations: 28.12 kB / 0.5615 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1354, allocations: 0 / 0.5615 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.1355, allocations: 24.02 kB / 0.5616 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.1356, allocations: 8 kB / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.1359, allocations: 138.6 kB / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.1361, allocations: 0.6809 MB / 0.5624 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.315e-05/0.1361, allocations: 4 kB / 0.5624 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.1361, allocations: 11.44 kB / 0.5624 GB, free: 5.504 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1361, allocations: 0 / 0.5624 GB, free: 5.504 MB / 430.1 MB Notification: Performance of Templates: time 0.002877/0.139, allocations: 1.001 MB / 0.5634 GB, free: 4.508 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)