Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 112.7 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.001096/0.001096, allocations: 189.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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7036/0.7036, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 68.16 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1578, allocations: 76.18 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002655/0.1605, allocations: 1.25 MB / 0.6333 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000724/0.1613, allocations: 291.4 kB / 0.6336 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.1614, allocations: 4 kB / 0.6336 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.1614, allocations: 0 / 0.6336 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.1615, allocations: 11.92 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.1619, allocations: 43.77 kB / 0.6336 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.162, allocations: 19.91 kB / 0.6337 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.162, allocations: 4 kB / 0.6337 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.1621, allocations: 7.938 kB / 0.6337 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.1622, allocations: 7.984 kB / 0.6337 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1622, allocations: 11.94 kB / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1623, allocations: 51.95 kB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1623, allocations: 0 / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.1624, allocations: 7.938 kB / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1626, allocations: 51.89 kB / 0.6338 GB, free: 2.668 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1626, allocations: 0 / 0.6338 GB, free: 2.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1626, allocations: 0 / 0.6338 GB, free: 2.668 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1626, allocations: 3.984 kB / 0.6338 GB, free: 2.664 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.0005081/0.1631, allocations: 339.5 kB / 0.6341 GB, free: 2.281 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1632, allocations: 12.03 kB / 0.6341 GB, free: 2.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.1634, allocations: 16.92 kB / 0.6341 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1635, allocations: 164.4 kB / 0.6343 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1636, allocations: 384 / 0.6343 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.1636, allocations: 384 / 0.6343 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1637, allocations: 46.23 kB / 0.6343 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1637, allocations: 192 / 0.6343 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1638, allocations: 7.922 kB / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1638, allocations: 0 / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/0.1638, allocations: 23.88 kB / 0.6344 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.164, allocations: 165.6 kB / 0.6345 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.1659, allocations: 262.5 kB / 0.6348 GB, free: 1.496 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.1659, allocations: 28.84 kB / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.166, allocations: 0 / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.166, allocations: 30.56 kB / 0.6348 GB, free: 1.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.166, allocations: 0 / 0.6348 GB, free: 1.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001864/0.1662, allocations: 69.56 kB / 0.6349 GB, free: 1.352 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1663, allocations: 51.41 kB / 0.635 GB, free: 1.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.1663, allocations: 93.86 kB / 0.635 GB, free: 1.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1664, allocations: 29.7 kB / 0.6351 GB, free: 1.152 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.1664, allocations: 80.14 kB / 0.6351 GB, free: 1.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.1664, allocations: 15.8 kB / 0.6352 GB, free: 1.055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.1665, allocations: 13.72 kB / 0.6352 GB, free: 1.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1666, allocations: 310.8 kB / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.1666, allocations: 8 kB / 0.6355 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.1667, allocations: 15.98 kB / 0.6355 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.1667, allocations: 20.98 kB / 0.6355 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1667, allocations: 7.938 kB / 0.6355 GB, free: 0.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.292e-05/0.1668, allocations: 57.69 kB / 0.6356 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1668, allocations: 8 kB / 0.6356 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1669, allocations: 3.938 kB / 0.6356 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1669, allocations: 0 / 0.6356 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.1669, allocations: 4 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.167, allocations: 3.938 kB / 0.6356 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.167, allocations: 0 / 0.6356 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.167, allocations: 4 kB / 0.6356 GB, free: 0.582 MB / 478.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 9.324e-05/0.1671, allocations: 117.8 kB / 0.6357 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.1671, allocations: 7.984 kB / 0.6357 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.1672, allocations: 11.44 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1672, allocations: 0 / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1672, allocations: 0 / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1672, allocations: 0 / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1673, allocations: 157.7 kB / 0.6359 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1674, allocations: 0 / 0.6359 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.1674, allocations: 11.94 kB / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1674, allocations: 336 / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1674, allocations: 7.938 kB / 0.6359 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1674, allocations: 0 / 0.6359 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1674, allocations: 0 / 0.6359 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.1675, allocations: 81.11 kB / 0.636 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.1676, allocations: 89 kB / 0.6361 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1676, allocations: 7.875 kB / 0.6361 GB, free: 0 / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.1677, allocations: 0 / 0.6361 GB, free: 0 / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1677, allocations: 4.047 kB / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1678, allocations: 4 kB / 0.6361 GB, free: 15.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.26e-05/0.1678, allocations: 75.28 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1678, allocations: 0 / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001914/0.168, allocations: 12 kB / 0.6362 GB, free: 15.9 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.0001191/0.1681, allocations: 103.1 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.1682, allocations: 19.98 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1682, allocations: 4 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.1683, allocations: 12.09 kB / 0.6363 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1685, allocations: 22 kB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.1689, allocations: 121.2 kB / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1692, allocations: 0.6768 MB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.303e-05/0.1693, allocations: 8 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.1693, allocations: 11.38 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1693, allocations: 0 / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of Templates: time 0.002534/0.1719, allocations: 0.5146 MB / 0.6376 GB, free: 14.36 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)