Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007073/0.0007073, allocations: 91.14 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.004358/0.004358, allocations: 170.9 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 267 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9443/0.9443, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004485, allocations: 16.7 kB / 0.5986 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 88.55 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001639/0.1826, allocations: 1.21 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1838, allocations: 0.8027 MB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.1839, allocations: 2 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.1839, allocations: 3.938 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.184, allocations: 11.86 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.1843, allocations: 108.9 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.1844, allocations: 55.78 kB / 0.6873 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.1845, allocations: 25.45 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.1846, allocations: 12.48 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.1846, allocations: 20.95 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1847, allocations: 4 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.185, allocations: 171.7 kB / 0.6875 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.185, allocations: 8.609 kB / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.1851, allocations: 47.86 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1853, allocations: 143.7 kB / 0.6877 GB, free: 12.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1853, allocations: 0 / 0.6877 GB, free: 12.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1853, allocations: 0 / 0.6877 GB, free: 12.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1853, allocations: 0 / 0.6877 GB, free: 12.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005401/0.1859, allocations: 404.2 kB / 0.6881 GB, free: 12.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1859, allocations: 8.031 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.186, allocations: 8.844 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1861, allocations: 176.3 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1861, allocations: 384 / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.1861, allocations: 8.375 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.1864, allocations: 83.5 kB / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1865, allocations: 0.9062 kB / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1865, allocations: 5.781 kB / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1865, allocations: 0 / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.1868, allocations: 91.92 kB / 0.6884 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1872, allocations: 296.6 kB / 0.6887 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1874, allocations: 62.53 kB / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1876, allocations: 56.92 kB / 0.6888 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.1877, allocations: 89.09 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1878, allocations: 30.56 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1878, allocations: 3.938 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005621/0.1884, allocations: 169.5 kB / 0.6891 GB, free: 10.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1884, allocations: 51.41 kB / 0.6892 GB, free: 10.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.1885, allocations: 113.8 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1885, allocations: 29.7 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.1886, allocations: 88.12 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.1886, allocations: 7.906 kB / 0.6894 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.1886, allocations: 17.72 kB / 0.6894 GB, free: 10.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1887, allocations: 318.8 kB / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1889, allocations: 39.97 kB / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.189, allocations: 43.97 kB / 0.6898 GB, free: 10.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.1893, allocations: 96.66 kB / 0.6899 GB, free: 9.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1894, allocations: 0 / 0.6899 GB, free: 9.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003396/0.1897, allocations: 121.5 kB / 0.69 GB, free: 9.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1897, allocations: 14.02 kB / 0.69 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1897, allocations: 3.938 kB / 0.69 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1898, allocations: 0 / 0.69 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1899, allocations: 27.98 kB / 0.69 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1899, allocations: 0 / 0.69 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.19, allocations: 15.98 kB / 0.69 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.19, allocations: 0 / 0.69 GB, free: 9.805 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 (3): * Single equations (assignments): 3 * 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.819e-05/0.1901, allocations: 119 kB / 0.6902 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1901, allocations: 7.906 kB / 0.6902 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.1905, allocations: 137.8 kB / 0.6903 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1905, allocations: 0 / 0.6903 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1906, allocations: 48 / 0.6903 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1906, allocations: 7.984 kB / 0.6903 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.1907, allocations: 169.6 kB / 0.6905 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1907, allocations: 0 / 0.6905 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.725e-05/0.1908, allocations: 23.97 kB / 0.6905 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1909, allocations: 0 / 0.6905 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1909, allocations: 8 kB / 0.6905 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1909, allocations: 0 / 0.6905 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1909, allocations: 0 / 0.6905 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.1913, allocations: 223.4 kB / 0.6907 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.1913, allocations: 85 kB / 0.6908 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1913, allocations: 0 / 0.6908 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1915, allocations: 23.98 kB / 0.6908 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1915, allocations: 7.984 kB / 0.6908 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1915, allocations: 0 / 0.6908 GB, free: 8.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.391e-05/0.1916, allocations: 87.28 kB / 0.6909 GB, free: 8.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1916, allocations: 0 / 0.6909 GB, free: 8.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1918, allocations: 31.98 kB / 0.6909 GB, free: 8.789 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 (3): * Single equations (assignments): 3 * 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.0002028/0.192, allocations: 139.2 kB / 0.6911 GB, free: 8.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.1924, allocations: 91.92 kB / 0.6912 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1924, allocations: 4 kB / 0.6912 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.1926, allocations: 47.89 kB / 0.6912 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1929, allocations: 11.94 kB / 0.6912 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.1932, allocations: 178.5 kB / 0.6914 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1935, allocations: 0.6809 MB / 0.6921 GB, free: 7.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.986e-05/0.1935, allocations: 0 / 0.6921 GB, free: 7.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.1935, allocations: 11.44 kB / 0.6921 GB, free: 7.574 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1935, allocations: 4 kB / 0.6921 GB, free: 7.57 MB / 494.1 MB Notification: Performance of Templates: time 0.003507/0.197, allocations: 1.228 MB / 0.6933 GB, free: 6.355 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)