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.000831/0.000834, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008972/0.0008972, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001696/0.001696, allocations: 271.1 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9396/0.9396, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004141, allocations: 11.81 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1679, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001687/0.1697, allocations: 0.9908 MB / 0.6854 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1712, allocations: 0.7997 MB / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.1712, allocations: 0 / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1712, allocations: 0 / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.1713, allocations: 5.031 kB / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.1718, allocations: 156.5 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.1718, allocations: 23.86 kB / 0.6864 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.1719, allocations: 4 kB / 0.6864 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.1719, allocations: 4 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.172, allocations: 8.547 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-06/0.172, allocations: 5.781 kB / 0.6864 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.1723, allocations: 175.7 kB / 0.6866 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.1723, allocations: 11.91 kB / 0.6866 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1724, allocations: 29.7 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1725, allocations: 96.97 kB / 0.6867 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1726, allocations: 0 / 0.6867 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1726, allocations: 0 / 0.6867 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1726, allocations: 0.5625 kB / 0.6867 GB, free: 13.14 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.0004155/0.173, allocations: 351.3 kB / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1731, allocations: 12.03 kB / 0.6871 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.1733, allocations: 11.94 kB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1734, allocations: 159.1 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1734, allocations: 0 / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1735, allocations: 8 kB / 0.6872 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1736, allocations: 45.62 kB / 0.6873 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1736, allocations: 3.984 kB / 0.6873 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1736, allocations: 1.156 kB / 0.6873 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.1737, allocations: 0 / 0.6873 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.448e-05/0.1737, allocations: 15.95 kB / 0.6873 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.174, allocations: 162.2 kB / 0.6875 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/0.1748, allocations: 123.5 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.1748, allocations: 21.42 kB / 0.6876 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.175, allocations: 89.08 kB / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.175, allocations: 46.56 kB / 0.6877 GB, free: 11.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.175, allocations: 0 / 0.6877 GB, free: 11.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002046/0.1752, allocations: 65.58 kB / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1753, allocations: 51.41 kB / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.1754, allocations: 93.84 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1754, allocations: 29.7 kB / 0.688 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.1754, allocations: 80.14 kB / 0.688 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.1755, allocations: 12.03 kB / 0.688 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.1755, allocations: 0 / 0.688 GB, free: 11.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.1756, allocations: 322.7 kB / 0.6884 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.1756, allocations: 7.984 kB / 0.6884 GB, free: 11.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.1756, allocations: 8 kB / 0.6884 GB, free: 11.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.1756, allocations: 12 kB / 0.6884 GB, free: 11.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1756, allocations: 0 / 0.6884 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.758e-05/0.1757, allocations: 57.59 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1758, allocations: 6.031 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1758, allocations: 0 / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1758, allocations: 4 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.1758, allocations: 11.98 kB / 0.6885 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1758, allocations: 0 / 0.6885 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.1759, allocations: 0 / 0.6885 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1759, allocations: 7.922 kB / 0.6885 GB, free: 11.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/0.176, allocations: 118.4 kB / 0.6886 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.176, allocations: 0 / 0.6886 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.1762, allocations: 77.17 kB / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1762, allocations: 4 kB / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1762, allocations: 0 / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1763, allocations: 3.984 kB / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1764, allocations: 161.5 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1764, allocations: 3.984 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.1764, allocations: 8 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1764, allocations: 4 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1765, allocations: 4 kB / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1765, allocations: 4 kB / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1765, allocations: 3.938 kB / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1766, allocations: 88.98 kB / 0.6889 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.1766, allocations: 81.09 kB / 0.689 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1767, allocations: 0 / 0.689 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.1767, allocations: 8 kB / 0.689 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1767, allocations: 0 / 0.689 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1767, allocations: 8.125 kB / 0.689 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.1768, allocations: 79.28 kB / 0.6891 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1768, allocations: 0 / 0.6891 GB, free: 10.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.177, allocations: 43.98 kB / 0.6891 GB, free: 10.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000344/0.1774, allocations: 170.4 kB / 0.6893 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.1775, allocations: 27.92 kB / 0.6893 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1775, allocations: 0 / 0.6893 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.1775, allocations: 16 kB / 0.6893 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.1777, allocations: 12.64 kB / 0.6894 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.178, allocations: 140.5 kB / 0.6895 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1782, allocations: 0.6809 MB / 0.6902 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.093e-05/0.1783, allocations: 16.02 kB / 0.6902 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1783, allocations: 7.438 kB / 0.6902 GB, free: 9.223 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1783, allocations: 0 / 0.6902 GB, free: 9.223 MB / 494.1 MB Notification: Performance of Templates: time 0.003072/0.1814, allocations: 1.015 MB / 0.6912 GB, free: 8.219 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)