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.0007134/0.0007134, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004511/0.004511, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 271 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9337/0.9337, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 18.7 kB / 0.5987 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1825, allocations: 88.54 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001323/0.1839, allocations: 1.002 MB / 0.6861 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1853, allocations: 0.8799 MB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.128e-05/0.1853, allocations: 0 / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.906e-06/0.1853, allocations: 0 / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.1854, allocations: 11.92 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1858, allocations: 139.4 kB / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.1859, allocations: 28.44 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.1859, allocations: 3.938 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.186, allocations: 8.438 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.186, allocations: 8.516 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.186, allocations: 0 / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.1863, allocations: 197 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.1864, allocations: 0 / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.1864, allocations: 39.53 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1866, allocations: 156 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1867, allocations: 0 / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1867, allocations: 0 / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1867, allocations: 0 / 0.6875 GB, free: 12.57 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.0003574/0.187, allocations: 346.4 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1871, allocations: 8.031 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1872, allocations: 13.48 kB / 0.6879 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.696e-05/0.1874, allocations: 166.7 kB / 0.688 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1874, allocations: 384 / 0.688 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1874, allocations: 12.11 kB / 0.6881 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1875, allocations: 41.69 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1875, allocations: 0 / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1875, allocations: 4 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1875, allocations: 0.75 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.1876, allocations: 15.98 kB / 0.6881 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1878, allocations: 167.7 kB / 0.6883 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/0.1886, allocations: 121.7 kB / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.1886, allocations: 25.56 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.682e-05/0.1887, allocations: 82.77 kB / 0.6885 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1888, allocations: 38.56 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1888, allocations: 0 / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001641/0.189, allocations: 62.55 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.189, allocations: 55.34 kB / 0.6886 GB, free: 11.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.1891, allocations: 91.05 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1891, allocations: 33.64 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.1891, allocations: 81.02 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1892, allocations: 13.03 kB / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.1892, allocations: 13.7 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1893, allocations: 314.8 kB / 0.6892 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.1893, allocations: 8.125 kB / 0.6892 GB, free: 10.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.1894, allocations: 16.17 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.1894, allocations: 24.84 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1894, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.88e-05/0.1895, allocations: 61.53 kB / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1895, allocations: 8 kB / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1895, allocations: 0 / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1895, allocations: 0 / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.1896, allocations: 7.938 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1896, allocations: 4 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.1896, allocations: 4 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1897, allocations: 3.984 kB / 0.6893 GB, free: 10.54 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.516e-05/0.1897, allocations: 111.2 kB / 0.6894 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.1898, allocations: 3.938 kB / 0.6894 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.19, allocations: 77.17 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.19, allocations: 0 / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.19, allocations: 4 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.19, allocations: 0 / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1901, allocations: 165.5 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1901, allocations: 0 / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.1902, allocations: 15.94 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1902, allocations: 3.984 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1902, allocations: 0 / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1902, allocations: 4 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1902, allocations: 4 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1903, allocations: 88.97 kB / 0.6898 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1904, allocations: 77.11 kB / 0.6898 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1904, allocations: 0 / 0.6898 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.1905, allocations: 16.05 kB / 0.6898 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.1905, allocations: 0 / 0.6898 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.1905, allocations: 8 kB / 0.6899 GB, free: 9.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.81e-05/0.1905, allocations: 79.28 kB / 0.6899 GB, free: 9.793 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1906, allocations: 0 / 0.6899 GB, free: 9.793 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1908, allocations: 44 kB / 0.69 GB, free: 9.75 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.0003385/0.1911, allocations: 172.2 kB / 0.6901 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.1912, allocations: 20 kB / 0.6902 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1912, allocations: 4.094 kB / 0.6902 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.846e-05/0.1913, allocations: 23.98 kB / 0.6902 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1914, allocations: 7.938 kB / 0.6902 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.1917, allocations: 128.6 kB / 0.6903 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.192, allocations: 0.6809 MB / 0.691 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.192, allocations: 20.14 kB / 0.691 GB, free: 8.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.1921, allocations: 15.44 kB / 0.691 GB, free: 8.629 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1921, allocations: 0 / 0.691 GB, free: 8.629 MB / 494.1 MB Notification: Performance of Templates: time 0.003298/0.1954, allocations: 1.038 MB / 0.692 GB, free: 7.602 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)