Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005279/0.005279, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001248/0.001248, allocations: 199.3 kB / 16.67 MB, free: 6.352 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 / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 279 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9363/0.9363, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 91.86 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1595, allocations: 86.98 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002263/0.1618, allocations: 1.284 MB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1634, allocations: 0.8619 MB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.1634, allocations: 0 / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1635, allocations: 0 / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.1635, allocations: 3.938 kB / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.1642, allocations: 206 kB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.262e-05/0.1643, allocations: 15.92 kB / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.1644, allocations: 0 / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.1644, allocations: 11.94 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.1645, allocations: 4 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1645, allocations: 4 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.1649, allocations: 239.7 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.1649, allocations: 4 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.165, allocations: 7.938 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1652, allocations: 147.6 kB / 0.7691 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1653, allocations: 0 / 0.7691 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.355e-06/0.1653, allocations: 4 kB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1653, allocations: 7.875 kB / 0.7691 GB, free: 5.637 MB / 0.5606 GB 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.0004323/0.1657, allocations: 363.1 kB / 0.7695 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1658, allocations: 8.031 kB / 0.7695 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.1659, allocations: 8.922 kB / 0.7695 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1661, allocations: 164.4 kB / 0.7696 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1661, allocations: 8.375 kB / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.1661, allocations: 4.125 kB / 0.7696 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1662, allocations: 49.67 kB / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1662, allocations: 0 / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1662, allocations: 0 / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1663, allocations: 0 / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.1663, allocations: 12 kB / 0.7697 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1665, allocations: 161.6 kB / 0.7699 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/0.1674, allocations: 126.5 kB / 0.77 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.1675, allocations: 32.84 kB / 0.77 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.1676, allocations: 85.09 kB / 0.7701 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1676, allocations: 30.56 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1676, allocations: 0 / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001922/0.1678, allocations: 65.61 kB / 0.7702 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1679, allocations: 55.41 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.1679, allocations: 101.8 kB / 0.7703 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.168, allocations: 25.7 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.168, allocations: 80.14 kB / 0.7704 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.168, allocations: 15.84 kB / 0.7704 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.1681, allocations: 21.7 kB / 0.7705 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1682, allocations: 314.8 kB / 0.7708 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.1682, allocations: 12.12 kB / 0.7708 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/0.1683, allocations: 7.984 kB / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.1683, allocations: 24.86 kB / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1683, allocations: 4 kB / 0.7708 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.1684, allocations: 61.56 kB / 0.7709 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1685, allocations: 4 kB / 0.7709 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1685, allocations: 0 / 0.7709 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1685, allocations: 0 / 0.7709 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.1686, allocations: 8 kB / 0.7709 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1686, allocations: 3.984 kB / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.1686, allocations: 11.95 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1686, allocations: 0 / 0.7709 GB, free: 3.562 MB / 0.5606 GB 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.522e-05/0.1687, allocations: 110.5 kB / 0.771 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.1687, allocations: 3.938 kB / 0.771 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1689, allocations: 85.11 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.169, allocations: 0 / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.169, allocations: 3.938 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.169, allocations: 0 / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.1691, allocations: 157.6 kB / 0.7712 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1691, allocations: 4 kB / 0.7712 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.1692, allocations: 7.984 kB / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1692, allocations: 0 / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1692, allocations: 4 kB / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1692, allocations: 0 / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1692, allocations: 0 / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1693, allocations: 96.98 kB / 0.7713 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1694, allocations: 85.06 kB / 0.7714 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1694, allocations: 7.984 kB / 0.7714 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.1695, allocations: 0 / 0.7714 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.1695, allocations: 3.938 kB / 0.7714 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1695, allocations: 8.125 kB / 0.7714 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.718e-05/0.1695, allocations: 79.28 kB / 0.7715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1695, allocations: 0 / 0.7715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002412/0.1698, allocations: 51.86 kB / 0.7716 GB, free: 2.766 MB / 0.5606 GB 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 (5): * Single equations (assignments): 5 * 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.0003898/0.1702, allocations: 164.7 kB / 0.7717 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.969e-05/0.1703, allocations: 27.98 kB / 0.7718 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1703, allocations: 0 / 0.7718 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/0.1703, allocations: 20.03 kB / 0.7718 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.1705, allocations: 17.81 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.1708, allocations: 126.6 kB / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.171, allocations: 0.6768 MB / 0.7726 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.406e-05/0.1711, allocations: 11.98 kB / 0.7726 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.1711, allocations: 11.44 kB / 0.7726 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1711, allocations: 0 / 0.7726 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.003227/0.1744, allocations: 1.075 MB / 0.7736 GB, free: 0.5898 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)