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.001185/0.001185, allocations: 117 kB / 17.09 MB, free: 5.969 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.001164/0.001164, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7159/0.7159, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 70.06 kB / 0.5583 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1418, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002202/0.144, allocations: 1.258 MB / 0.634 GB, free: 3.121 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1454, allocations: 0.8345 MB / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.1454, allocations: 0 / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.1454, allocations: 0 / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.1455, allocations: 11.91 kB / 0.6348 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.1461, allocations: 123.4 kB / 0.6349 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.1462, allocations: 23.92 kB / 0.6349 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.1463, allocations: 4 kB / 0.6349 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.1463, allocations: 15.97 kB / 0.6349 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.1464, allocations: 7.938 kB / 0.635 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1464, allocations: 4 kB / 0.635 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.1467, allocations: 171.7 kB / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.1467, allocations: 7.984 kB / 0.6351 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.1468, allocations: 15.88 kB / 0.6351 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.147, allocations: 115.7 kB / 0.6353 GB, free: 1.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.147, allocations: 4 kB / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.147, allocations: 0 / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1471, allocations: 0 / 0.6353 GB, free: 1.785 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.0004524/0.1475, allocations: 363.4 kB / 0.6356 GB, free: 1.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1476, allocations: 8.031 kB / 0.6356 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.1476, allocations: 4.844 kB / 0.6356 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1477, allocations: 168.4 kB / 0.6358 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.1478, allocations: 34.2 kB / 0.6358 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1478, allocations: 4.375 kB / 0.6358 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.148, allocations: 46.23 kB / 0.6359 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.148, allocations: 3.938 kB / 0.6359 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.148, allocations: 0 / 0.6359 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.148, allocations: 3.938 kB / 0.6359 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.1481, allocations: 19.98 kB / 0.6359 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.1483, allocations: 157.7 kB / 0.636 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.1485, allocations: 54.48 kB / 0.6361 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.1486, allocations: 12.86 kB / 0.6361 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.1489, allocations: 182.3 kB / 0.6363 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1489, allocations: 38.55 kB / 0.6363 GB, free: 0.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1489, allocations: 0 / 0.6363 GB, free: 0.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002484/0.1492, allocations: 65.62 kB / 0.6364 GB, free: 440 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.1492, allocations: 55.39 kB / 0.6364 GB, free: 372 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.1493, allocations: 93.86 kB / 0.6365 GB, free: 268 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1493, allocations: 29.7 kB / 0.6365 GB, free: 232 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.1493, allocations: 80.14 kB / 0.6366 GB, free: 148 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1494, allocations: 15.75 kB / 0.6366 GB, free: 132 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.1494, allocations: 25.64 kB / 0.6367 GB, free: 100 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1495, allocations: 314.8 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.1496, allocations: 4 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.1496, allocations: 15.98 kB / 0.637 GB, free: 15.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.497e-05/0.1497, allocations: 28.84 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1497, allocations: 4 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.1499, allocations: 49.69 kB / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1499, allocations: 15.94 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1499, allocations: 0 / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1499, allocations: 0 / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.15, allocations: 15.92 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.15, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.1501, allocations: 3.906 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1501, allocations: 0 / 0.6371 GB, free: 15.64 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.602e-05/0.1502, allocations: 117.8 kB / 0.6372 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.1502, allocations: 3.938 kB / 0.6372 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.1504, allocations: 69.17 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1504, allocations: 3.984 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1504, allocations: 0 / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1504, allocations: 0 / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.1505, allocations: 157.7 kB / 0.6374 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1505, allocations: 0 / 0.6374 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.1506, allocations: 11.88 kB / 0.6374 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1506, allocations: 4.5 kB / 0.6374 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.1506, allocations: 4 kB / 0.6374 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1506, allocations: 4 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1506, allocations: 0 / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.1508, allocations: 85.09 kB / 0.6375 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.1508, allocations: 89 kB / 0.6376 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.1508, allocations: 3.938 kB / 0.6376 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.1509, allocations: 4 kB / 0.6376 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1509, allocations: 0 / 0.6376 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.151, allocations: 8 kB / 0.6376 GB, free: 14.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.189e-05/0.151, allocations: 79.27 kB / 0.6377 GB, free: 14.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.151, allocations: 0 / 0.6377 GB, free: 14.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1512, allocations: 35.94 kB / 0.6377 GB, free: 14.86 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.0002172/0.1515, allocations: 135.1 kB / 0.6379 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.1516, allocations: 27.98 kB / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1516, allocations: 0 / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/0.1517, allocations: 19.98 kB / 0.6379 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1519, allocations: 9.094 kB / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.1522, allocations: 148.9 kB / 0.6381 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1525, allocations: 0.6768 MB / 0.6387 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.1525, allocations: 11.44 kB / 0.6387 GB, free: 13.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1525, allocations: 0 / 0.6387 GB, free: 13.77 MB / 494.1 MB Notification: Performance of Templates: time 0.002444/0.1549, allocations: 0.9917 MB / 0.6397 GB, free: 12.78 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)