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.001378/0.001384, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001315/0.001315, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7199/0.7199, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.77 kB / 0.5583 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1548, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002455/0.1573, allocations: 1.247 MB / 0.634 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005828/0.1579, allocations: 295.4 kB / 0.6342 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.1579, allocations: 0 / 0.6342 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.1579, allocations: 7.938 kB / 0.6342 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.158, allocations: 0 / 0.6342 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1583, allocations: 55.73 kB / 0.6343 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.1584, allocations: 19.88 kB / 0.6343 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1584, allocations: 0 / 0.6343 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.1585, allocations: 11.92 kB / 0.6343 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.1585, allocations: 8 kB / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1586, allocations: 0 / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1587, allocations: 55.95 kB / 0.6344 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.1587, allocations: 4 kB / 0.6344 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.1587, allocations: 11.92 kB / 0.6344 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1589, allocations: 47.89 kB / 0.6344 GB, free: 2.641 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1589, allocations: 4 kB / 0.6345 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1589, allocations: 0 / 0.6345 GB, free: 2.637 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1589, allocations: 0 / 0.6345 GB, free: 2.637 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.0004292/0.1594, allocations: 335.5 kB / 0.6348 GB, free: 2.258 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1594, allocations: 8.031 kB / 0.6348 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.1596, allocations: 24.92 kB / 0.6348 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1597, allocations: 164.4 kB / 0.635 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1598, allocations: 4.375 kB / 0.635 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1598, allocations: 384 / 0.635 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1599, allocations: 42.25 kB / 0.635 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1599, allocations: 8.109 kB / 0.635 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1599, allocations: 3.938 kB / 0.635 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1599, allocations: 0 / 0.635 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.16, allocations: 19.92 kB / 0.635 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.1602, allocations: 161.6 kB / 0.6352 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.162, allocations: 266.4 kB / 0.6354 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.162, allocations: 24.86 kB / 0.6355 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.162, allocations: 0 / 0.6355 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1621, allocations: 38.5 kB / 0.6355 GB, free: 1.395 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1621, allocations: 0 / 0.6355 GB, free: 1.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001603/0.1623, allocations: 61.62 kB / 0.6356 GB, free: 1.328 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1623, allocations: 55.41 kB / 0.6356 GB, free: 1.262 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.1624, allocations: 93.84 kB / 0.6357 GB, free: 1.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1624, allocations: 29.83 kB / 0.6357 GB, free: 1.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.1624, allocations: 84.12 kB / 0.6358 GB, free: 1.039 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1625, allocations: 11.81 kB / 0.6358 GB, free: 1.027 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1625, allocations: 17.72 kB / 0.6358 GB, free: 1.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1626, allocations: 310.8 kB / 0.6361 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.1627, allocations: 11.98 kB / 0.6361 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.1627, allocations: 8 kB / 0.6362 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.1627, allocations: 28.8 kB / 0.6362 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1627, allocations: 4 kB / 0.6362 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.822e-05/0.1628, allocations: 57.69 kB / 0.6362 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1628, allocations: 4 kB / 0.6362 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1629, allocations: 3.938 kB / 0.6362 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1629, allocations: 3.938 kB / 0.6363 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.1629, allocations: 8 kB / 0.6363 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1629, allocations: 0 / 0.6363 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.163, allocations: 3.984 kB / 0.6363 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.163, allocations: 0 / 0.6363 GB, free: 0.5508 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.245e-05/0.1631, allocations: 121.7 kB / 0.6364 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.1631, allocations: 4 kB / 0.6364 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.1631, allocations: 11.44 kB / 0.6364 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1631, allocations: 0 / 0.6364 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1632, allocations: 4 kB / 0.6364 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1632, allocations: 0 / 0.6364 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1633, allocations: 154 kB / 0.6365 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1633, allocations: 0 / 0.6365 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.1634, allocations: 4 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1634, allocations: 0 / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1634, allocations: 7.938 kB / 0.6366 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1634, allocations: 7.984 kB / 0.6366 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1634, allocations: 0 / 0.6366 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.1635, allocations: 81.11 kB / 0.6366 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.1636, allocations: 81.02 kB / 0.6367 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1636, allocations: 11.88 kB / 0.6367 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.1637, allocations: 0 / 0.6367 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.1637, allocations: 7.922 kB / 0.6367 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1637, allocations: 4 kB / 0.6367 GB, free: 15.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.933e-05/0.1637, allocations: 79.28 kB / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1638, allocations: 0 / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000182/0.1639, allocations: 4 kB / 0.6368 GB, free: 15.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.0001152/0.1641, allocations: 99.25 kB / 0.6369 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.688e-05/0.1642, allocations: 23.98 kB / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1642, allocations: 0 / 0.6369 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.1642, allocations: 15.94 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1645, allocations: 20.08 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.1648, allocations: 140.4 kB / 0.6371 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.165, allocations: 0.6767 MB / 0.6378 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.1651, allocations: 11.44 kB / 0.6378 GB, free: 14.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1651, allocations: 0 / 0.6378 GB, free: 14.82 MB / 494.1 MB Notification: Performance of Templates: time 0.001646/0.1667, allocations: 0.5307 MB / 0.6383 GB, free: 14.29 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)