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.001092/0.001092, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 197.3 kB / 16.53 MB, free: 6.668 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 282.3 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9305/0.9305, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 94.77 kB / 0.5952 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 86.99 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002582/0.1608, allocations: 1.264 MB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1621, allocations: 0.8712 MB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.1622, allocations: 0 / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.1622, allocations: 0 / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.019e-05/0.1623, allocations: 7.922 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.1629, allocations: 198.5 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.1629, allocations: 15.94 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.163, allocations: 8 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.163, allocations: 7.938 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.1631, allocations: 7.984 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1631, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.1634, allocations: 192.5 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.1634, allocations: 3.984 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1635, allocations: 11.92 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.1637, allocations: 151.7 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1637, allocations: 0 / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1637, allocations: 4 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1638, allocations: 0 / 0.6829 GB, free: 13.95 MB / 494.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.0004086/0.1642, allocations: 359.5 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1642, allocations: 12.03 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.1644, allocations: 8.922 kB / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1645, allocations: 168.4 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1645, allocations: 384 / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1645, allocations: 8.125 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1647, allocations: 41.69 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1647, allocations: 0 / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1647, allocations: 4 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1647, allocations: 0 / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.1647, allocations: 19.92 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1649, allocations: 157.6 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.1658, allocations: 134.6 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.1658, allocations: 20.8 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.166, allocations: 85.09 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.166, allocations: 34.56 kB / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.166, allocations: 0 / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.1662, allocations: 69.56 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1662, allocations: 55.34 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.1663, allocations: 97.84 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1663, allocations: 29.7 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.1663, allocations: 80.14 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1664, allocations: 19.73 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1664, allocations: 13.72 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1665, allocations: 318.8 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.1666, allocations: 4 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.1666, allocations: 12 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/0.1666, allocations: 28.97 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1666, allocations: 0 / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.275e-05/0.1667, allocations: 61.56 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1668, allocations: 8 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1668, allocations: 0 / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1668, allocations: 0 / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.1668, allocations: 4.328 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1669, allocations: 0 / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.1669, allocations: 4 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1669, allocations: 0 / 0.6846 GB, free: 11.88 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.086e-05/0.167, allocations: 115.1 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.167, allocations: 7.938 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.1673, allocations: 85.03 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1673, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1673, allocations: 4 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1673, allocations: 4 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.1674, allocations: 157.6 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1674, allocations: 0 / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.1675, allocations: 8 kB / 0.685 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1675, allocations: 64 / 0.685 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1675, allocations: 8 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1675, allocations: 0 / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1675, allocations: 7.984 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1676, allocations: 97.42 kB / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.1677, allocations: 77.11 kB / 0.6852 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.1677, allocations: 0 / 0.6852 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.1677, allocations: 7.938 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.1678, allocations: 3.984 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1678, allocations: 4 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.1678, allocations: 79.28 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1678, allocations: 0 / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1681, allocations: 40.09 kB / 0.6853 GB, free: 11.09 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 (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.0003397/0.1684, allocations: 178.3 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.1685, allocations: 31.92 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1685, allocations: 0 / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.1686, allocations: 19.98 kB / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.1687, allocations: 7.938 kB / 0.6855 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.169, allocations: 114.7 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1692, allocations: 0.6768 MB / 0.6863 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.1693, allocations: 12 kB / 0.6863 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.1693, allocations: 15.42 kB / 0.6863 GB, free: 9.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1693, allocations: 0 / 0.6863 GB, free: 9.98 MB / 494.1 MB Notification: Performance of Templates: time 0.00339/0.1727, allocations: 1.075 MB / 0.6874 GB, free: 8.914 MB / 494.1 MB 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)