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.00103/0.00103, allocations: 109.4 kB / 16.41 MB, free: 6.492 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.001124/0.001124, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6993/0.6993, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.83 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1562, allocations: 76.18 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002279/0.1585, allocations: 1.257 MB / 0.6333 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1598, allocations: 0.8267 MB / 0.6341 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.1598, allocations: 3.938 kB / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.1598, allocations: 3.984 kB / 0.6341 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.1599, allocations: 11.92 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.1603, allocations: 127.4 kB / 0.6343 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.1604, allocations: 23.92 kB / 0.6343 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1605, allocations: 3.984 kB / 0.6343 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.1605, allocations: 19.97 kB / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.1606, allocations: 11.92 kB / 0.6343 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1606, allocations: 0 / 0.6343 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.1609, allocations: 167.7 kB / 0.6345 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1609, allocations: 7.984 kB / 0.6345 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.161, allocations: 7.938 kB / 0.6345 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1612, allocations: 123.7 kB / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1612, allocations: 0 / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1612, allocations: 0 / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1612, allocations: 0 / 0.6346 GB, free: 1.844 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.0004751/0.1617, allocations: 363.4 kB / 0.635 GB, free: 1.438 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1617, allocations: 8.031 kB / 0.635 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.1618, allocations: 8.844 kB / 0.635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1619, allocations: 160.4 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.162, allocations: 34.27 kB / 0.6352 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.162, allocations: 4.375 kB / 0.6352 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1622, allocations: 54.17 kB / 0.6352 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1622, allocations: 7.875 kB / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1622, allocations: 0 / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1622, allocations: 0 / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.1623, allocations: 15.98 kB / 0.6352 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1625, allocations: 157.7 kB / 0.6354 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.1627, allocations: 46.61 kB / 0.6354 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.1628, allocations: 16.94 kB / 0.6354 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.163, allocations: 178.2 kB / 0.6356 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1631, allocations: 38.5 kB / 0.6357 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1631, allocations: 0 / 0.6357 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.000223/0.1633, allocations: 73.61 kB / 0.6357 GB, free: 500 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1634, allocations: 55.41 kB / 0.6358 GB, free: 432 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.1634, allocations: 89.86 kB / 0.6359 GB, free: 332 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1634, allocations: 29.7 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.1635, allocations: 80.14 kB / 0.636 GB, free: 212 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1635, allocations: 19.73 kB / 0.636 GB, free: 192 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.1635, allocations: 17.72 kB / 0.636 GB, free: 168 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1637, allocations: 314.8 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.1637, allocations: 11.98 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.1638, allocations: 15.88 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.525e-05/0.1639, allocations: 25.31 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1639, allocations: 4 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001287/0.164, allocations: 53.69 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.164, allocations: 7.938 kB / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.164, allocations: 3.984 kB / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.164, allocations: 12.03 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/0.1641, allocations: 4 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1641, allocations: 0 / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/0.1641, allocations: 7.906 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1642, allocations: 0 / 0.6364 GB, free: 15.7 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 6.706e-05/0.1642, allocations: 113.8 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.1642, allocations: 7.938 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.1644, allocations: 69.16 kB / 0.6366 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1644, allocations: 4 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1644, allocations: 0 / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1645, allocations: 0 / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1646, allocations: 157.6 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1646, allocations: 0 / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.1646, allocations: 8 kB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1646, allocations: 3.938 kB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1646, allocations: 0 / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1646, allocations: 4 kB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1646, allocations: 0 / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.1648, allocations: 89.05 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1649, allocations: 89 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1649, allocations: 7.938 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.1649, allocations: 0 / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.165, allocations: 4 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.165, allocations: 3.984 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.118e-05/0.165, allocations: 79.28 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.165, allocations: 4 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1652, allocations: 35.94 kB / 0.6371 GB, free: 14.92 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.0002076/0.1655, allocations: 131.2 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1656, allocations: 27.92 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1656, allocations: 0 / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.1657, allocations: 19.98 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.1659, allocations: 8 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.1661, allocations: 123.2 kB / 0.6374 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1664, allocations: 0.6767 MB / 0.638 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.714e-05/0.1664, allocations: 15.92 kB / 0.6381 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.1664, allocations: 15.42 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1664, allocations: 0 / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Templates: time 0.00335/0.1698, allocations: 1.051 MB / 0.6391 GB, free: 12.8 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)