Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001692/0.001692, allocations: 196.2 kB / 16.25 MB, free: 6.621 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 282.3 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9503/0.9503, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 97.06 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1723, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002799/0.1752, allocations: 1.723 MB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006831/0.1759, allocations: 402.4 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.176, allocations: 0 / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1761, allocations: 7.922 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.1762, allocations: 20.47 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.1766, allocations: 117.5 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1767, allocations: 99.59 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1768, allocations: 50.12 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.1769, allocations: 39.91 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.177, allocations: 43.78 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.177, allocations: 8.562 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1771, allocations: 60.83 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.1772, allocations: 23.91 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.1772, allocations: 47.78 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1774, allocations: 128.3 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1774, allocations: 0.625 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1774, allocations: 0 / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1774, allocations: 1.375 kB / 0.6823 GB, free: 14.33 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000579/0.178, allocations: 411.9 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1781, allocations: 8.031 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.1783, allocations: 36.72 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1785, allocations: 196.2 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/0.1786, allocations: 38.19 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1786, allocations: 8.375 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.1789, allocations: 98.2 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1789, allocations: 3.938 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1789, allocations: 4 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.179, allocations: 7.938 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.1792, allocations: 79.94 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.1799, allocations: 388.6 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.1804, allocations: 126.6 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1805, allocations: 40.78 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1805, allocations: 160 / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1805, allocations: 38.56 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.1806, allocations: 0 / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003986/0.181, allocations: 141.5 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.181, allocations: 51.41 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1811, allocations: 144 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1812, allocations: 29.7 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.1812, allocations: 100.1 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1812, allocations: 23.66 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1813, allocations: 21.7 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1814, allocations: 318.8 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1815, allocations: 35.91 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1816, allocations: 41.69 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1818, allocations: 77.69 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1818, allocations: 0 / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002487/0.1821, allocations: 117.5 kB / 0.6848 GB, free: 11.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1821, allocations: 4 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1821, allocations: 0 / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1821, allocations: 4.031 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1822, allocations: 23.92 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1823, allocations: 0 / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.1823, allocations: 15.84 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1824, allocations: 4 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.0001014/0.1825, allocations: 123.1 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.1825, allocations: 7.906 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.1825, allocations: 12.72 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1826, allocations: 11.94 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1826, allocations: 4 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1826, allocations: 0 / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1828, allocations: 197.6 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1828, allocations: 3.984 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1829, allocations: 15.98 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1829, allocations: 0 / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1829, allocations: 0 / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1829, allocations: 3.938 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1829, allocations: 0 / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1832, allocations: 204 kB / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.1833, allocations: 100.9 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1833, allocations: 3.938 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1834, allocations: 15.92 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1835, allocations: 0 / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1835, allocations: 7.984 kB / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.816e-05/0.1836, allocations: 107.3 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1836, allocations: 0 / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1838, allocations: 27.84 kB / 0.6856 GB, free: 10.59 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 (7): * Single equations (assignments): 7 * 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.0001046/0.1839, allocations: 100.9 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1842, allocations: 79.94 kB / 0.6858 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1842, allocations: 0 / 0.6858 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1843, allocations: 40.05 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1847, allocations: 23.98 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.1852, allocations: 227.1 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1854, allocations: 0.6963 MB / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.1855, allocations: 8.672 kB / 0.6868 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.1856, allocations: 11.44 kB / 0.6868 GB, free: 9.348 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1856, allocations: 0 / 0.6868 GB, free: 9.348 MB / 494.1 MB Notification: Performance of Templates: time 0.003656/0.1892, allocations: 1.391 MB / 0.6881 GB, free: 7.988 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)