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.00107/0.001071, allocations: 114 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7101/0.7101, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 61.12 kB / 0.5583 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002474/0.1475, allocations: 1.254 MB / 0.634 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1488, allocations: 0.8384 MB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.1488, allocations: 0 / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.1489, allocations: 0 / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.1489, allocations: 3.938 kB / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.1495, allocations: 131.4 kB / 0.6349 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.1496, allocations: 23.92 kB / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.1496, allocations: 7.984 kB / 0.6349 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.1497, allocations: 4 kB / 0.6349 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.1498, allocations: 19.92 kB / 0.635 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1498, allocations: 0 / 0.635 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.1501, allocations: 167.7 kB / 0.6351 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.1502, allocations: 4 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.1502, allocations: 11.94 kB / 0.6351 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.1504, allocations: 123.7 kB / 0.6352 GB, free: 1.809 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1504, allocations: 0 / 0.6352 GB, free: 1.809 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1505, allocations: 0 / 0.6352 GB, free: 1.809 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1505, allocations: 0 / 0.6352 GB, free: 1.809 MB / 478.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.0004633/0.1509, allocations: 367.4 kB / 0.6356 GB, free: 1.398 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.151, allocations: 8.031 kB / 0.6356 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.151, allocations: 8.844 kB / 0.6356 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1511, allocations: 164.3 kB / 0.6358 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/0.1512, allocations: 38.25 kB / 0.6358 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1512, allocations: 384 / 0.6358 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1514, allocations: 42.25 kB / 0.6358 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1514, allocations: 3.938 kB / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1514, allocations: 0 / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1514, allocations: 7.938 kB / 0.6359 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.33e-05/0.1515, allocations: 15.98 kB / 0.6359 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.1517, allocations: 153.7 kB / 0.636 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1519, allocations: 54.55 kB / 0.6361 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.152, allocations: 20.94 kB / 0.6361 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.1523, allocations: 178.2 kB / 0.6363 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1523, allocations: 34.56 kB / 0.6363 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1523, allocations: 4 kB / 0.6363 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002584/0.1526, allocations: 73.59 kB / 0.6364 GB, free: 456 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1527, allocations: 51.41 kB / 0.6364 GB, free: 392 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.1527, allocations: 101.8 kB / 0.6365 GB, free: 280 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1528, allocations: 25.7 kB / 0.6365 GB, free: 248 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.1528, allocations: 80.14 kB / 0.6366 GB, free: 164 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1529, allocations: 19.73 kB / 0.6366 GB, free: 144 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.1529, allocations: 17.72 kB / 0.6367 GB, free: 120 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1531, allocations: 314.8 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.1532, allocations: 11.98 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.1533, allocations: 8 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1535, allocations: 28.84 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1535, allocations: 0 / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001858/0.1537, allocations: 57.67 kB / 0.6371 GB, free: 15.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1537, allocations: 9.969 kB / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1537, allocations: 7.938 kB / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1537, allocations: 0 / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.1538, allocations: 8 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1538, allocations: 0 / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.1538, allocations: 7.906 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1539, allocations: 4 kB / 0.6371 GB, free: 15.65 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.1539, allocations: 109.8 kB / 0.6372 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.154, allocations: 7.875 kB / 0.6372 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.1541, allocations: 69.17 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1542, allocations: 0 / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1542, allocations: 0 / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1542, allocations: 0 / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1543, allocations: 165.6 kB / 0.6374 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1543, allocations: 0 / 0.6374 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.1544, allocations: 15.94 kB / 0.6374 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.1544, allocations: 7.922 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1544, allocations: 0 / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1544, allocations: 0 / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1544, allocations: 0 / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1545, allocations: 81.12 kB / 0.6375 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.1546, allocations: 85.61 kB / 0.6376 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1546, allocations: 7.938 kB / 0.6376 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.1547, allocations: 0 / 0.6376 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1547, allocations: 7.984 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1548, allocations: 4 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.792e-05/0.1548, allocations: 87.27 kB / 0.6377 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.655e-06/0.1548, allocations: 0 / 0.6377 GB, free: 14.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1551, allocations: 31.88 kB / 0.6377 GB, free: 14.88 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002416/0.1553, allocations: 135.2 kB / 0.6379 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.1555, allocations: 27.97 kB / 0.6379 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1555, allocations: 0 / 0.6379 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.1556, allocations: 8 kB / 0.6379 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.1558, allocations: 23.97 kB / 0.6379 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.1562, allocations: 148.9 kB / 0.6381 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1565, allocations: 0.6807 MB / 0.6387 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1565, allocations: 7.438 kB / 0.6387 GB, free: 13.78 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1565, allocations: 0 / 0.6387 GB, free: 13.78 MB / 494.1 MB Notification: Performance of Templates: time 0.002852/0.1594, allocations: 0.9902 MB / 0.6397 GB, free: 12.79 MB / 494.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)