Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00727/0.00727, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001266/0.001266, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6376/0.6376, allocations: 95.49 MB / 365.4 MB, free: 9.699 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001435, allocations: 71.89 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1709, allocations: 69.08 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002625/0.1736, allocations: 1.272 MB / 0.5723 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1761, allocations: 1.964 MB / 0.5742 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.1761, allocations: 0 / 0.5742 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1761, allocations: 0 / 0.5742 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.1762, allocations: 11.92 kB / 0.5743 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.177, allocations: 238.7 kB / 0.5745 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.792e-05/0.177, allocations: 23.91 kB / 0.5745 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1771, allocations: 0 / 0.5745 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.1771, allocations: 8 kB / 0.5745 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.1772, allocations: 7.938 kB / 0.5745 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.1772, allocations: 0 / 0.5745 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.1776, allocations: 271.6 kB / 0.5748 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1777, allocations: 0 / 0.5748 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.1777, allocations: 11.94 kB / 0.5748 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.178, allocations: 151.8 kB / 0.5749 GB, free: 4.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.178, allocations: 4 kB / 0.5749 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.178, allocations: 0 / 0.5749 GB, free: 4.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.178, allocations: 0 / 0.5749 GB, free: 4.328 MB / 446.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.0004611/0.1785, allocations: 367.4 kB / 0.5753 GB, free: 3.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1785, allocations: 11.98 kB / 0.5753 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.1787, allocations: 16.92 kB / 0.5753 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1788, allocations: 160.4 kB / 0.5755 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1788, allocations: 4.312 kB / 0.5755 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1788, allocations: 4.375 kB / 0.5755 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1789, allocations: 42 kB / 0.5755 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.179, allocations: 4 kB / 0.5755 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.179, allocations: 0 / 0.5755 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.179, allocations: 0 / 0.5755 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.222e-05/0.1791, allocations: 19.92 kB / 0.5755 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.1792, allocations: 157.7 kB / 0.5757 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.1801, allocations: 130.5 kB / 0.5758 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.1801, allocations: 20.86 kB / 0.5758 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.1803, allocations: 85.09 kB / 0.5759 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1803, allocations: 42.5 kB / 0.576 GB, free: 3.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.1803, allocations: 0 / 0.576 GB, free: 3.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.1805, allocations: 61.59 kB / 0.576 GB, free: 3.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1806, allocations: 59.39 kB / 0.5761 GB, free: 2.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.1807, allocations: 89.86 kB / 0.5762 GB, free: 2.871 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1807, allocations: 25.7 kB / 0.5762 GB, free: 2.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.1807, allocations: 84.08 kB / 0.5763 GB, free: 2.754 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.1808, allocations: 15.97 kB / 0.5763 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1808, allocations: 17.72 kB / 0.5763 GB, free: 2.715 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1809, allocations: 314.8 kB / 0.5766 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.1809, allocations: 8 kB / 0.5766 GB, free: 2.391 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.181, allocations: 4 kB / 0.5766 GB, free: 2.387 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.061e-05/0.181, allocations: 29.12 kB / 0.5766 GB, free: 2.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.181, allocations: 0 / 0.5766 GB, free: 2.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.1811, allocations: 61.58 kB / 0.5767 GB, free: 2.289 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1812, allocations: 11.88 kB / 0.5767 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1812, allocations: 4 kB / 0.5767 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1812, allocations: 0 / 0.5767 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.1813, allocations: 11.94 kB / 0.5767 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1813, allocations: 0 / 0.5767 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.1813, allocations: 0 / 0.5767 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1813, allocations: 0 / 0.5767 GB, free: 2.262 MB / 446.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.358e-05/0.1814, allocations: 117.8 kB / 0.5768 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1814, allocations: 3.938 kB / 0.5768 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.1816, allocations: 73.17 kB / 0.5769 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1816, allocations: 0 / 0.5769 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1816, allocations: 0 / 0.5769 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1816, allocations: 0 / 0.5769 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1817, allocations: 165.7 kB / 0.5771 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1817, allocations: 0 / 0.5771 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.1818, allocations: 12 kB / 0.5771 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1818, allocations: 7.938 kB / 0.5771 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1818, allocations: 4 kB / 0.5771 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1818, allocations: 0 / 0.5771 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1818, allocations: 0 / 0.5771 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.182, allocations: 85.03 kB / 0.5772 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.182, allocations: 85.03 kB / 0.5773 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1821, allocations: 7.938 kB / 0.5773 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.1821, allocations: 0 / 0.5773 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.1821, allocations: 4 kB / 0.5773 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1822, allocations: 11.98 kB / 0.5773 GB, free: 1.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.01e-05/0.1822, allocations: 75.28 kB / 0.5774 GB, free: 1.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1822, allocations: 0 / 0.5774 GB, free: 1.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1825, allocations: 52 kB / 0.5774 GB, free: 1.465 MB / 446.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.0004963/0.183, allocations: 189.2 kB / 0.5776 GB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.1831, allocations: 31.92 kB / 0.5776 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1831, allocations: 0 / 0.5776 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.1832, allocations: 19.94 kB / 0.5776 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.1833, allocations: 7.984 kB / 0.5776 GB, free: 1.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.1837, allocations: 114.8 kB / 0.5777 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1839, allocations: 0.6808 MB / 0.5784 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.735e-05/0.184, allocations: 7.969 kB / 0.5784 GB, free: 372 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.184, allocations: 11.44 kB / 0.5784 GB, free: 360 kB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.184, allocations: 4 kB / 0.5784 GB, free: 356 kB / 446.1 MB Notification: Performance of Templates: time 0.004114/0.1881, allocations: 1.254 MB / 0.5797 GB, free: 15.09 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)