Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001303/0.001303, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 274.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9523/0.9523, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002739/0.002739, allocations: 90.11 kB / 0.5945 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1823, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002689/0.185, allocations: 1.511 MB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1866, allocations: 0.9109 MB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.1866, allocations: 8 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1867, allocations: 0 / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.1872, allocations: 114.4 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.1874, allocations: 75.83 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1875, allocations: 83.75 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.1876, allocations: 16.27 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.1877, allocations: 31.91 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1878, allocations: 47.81 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1878, allocations: 4 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.1882, allocations: 215.7 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.1883, allocations: 51.88 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.1883, allocations: 55.59 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.1887, allocations: 255.2 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1887, allocations: 0 / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1887, allocations: 0 / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1887, allocations: 0 / 0.6827 GB, free: 13.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006369/0.1893, allocations: 470.6 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1894, allocations: 12.03 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1894, allocations: 16.73 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1897, allocations: 260 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1897, allocations: 4.375 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1897, allocations: 12.12 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1899, allocations: 69.66 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.19, allocations: 0 / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.19, allocations: 4 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.19, allocations: 0 / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1902, allocations: 79.88 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.1905, allocations: 229.6 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.1907, allocations: 118.5 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1909, allocations: 48.83 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.1909, allocations: 19.97 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.191, allocations: 34.56 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.191, allocations: 0 / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000414/0.1914, allocations: 173.3 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1914, allocations: 51.41 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1917, allocations: 299 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1917, allocations: 25.7 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.1918, allocations: 116.1 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.1919, allocations: 27.72 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.1919, allocations: 17.72 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.192, allocations: 326.8 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1921, allocations: 43.91 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1923, allocations: 58.53 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1925, allocations: 92.83 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1925, allocations: 3.938 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002484/0.1927, allocations: 129.4 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1927, allocations: 4 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1928, allocations: 4 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1928, allocations: 0 / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.1928, allocations: 12.31 kB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1929, allocations: 0 / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.193, allocations: 12 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.193, allocations: 4 kB / 0.6854 GB, free: 10.88 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 9.448e-05/0.1931, allocations: 131.1 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.1931, allocations: 15.75 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.1934, allocations: 142.5 kB / 0.6856 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1934, allocations: 4 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1934, allocations: 0 / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1934, allocations: 4 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.1936, allocations: 213.5 kB / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1936, allocations: 0 / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.1937, allocations: 8 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1937, allocations: 3.984 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1937, allocations: 4 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1937, allocations: 0 / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1937, allocations: 0 / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.194, allocations: 160.8 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1941, allocations: 93.02 kB / 0.6861 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1941, allocations: 0 / 0.6861 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.1942, allocations: 7.984 kB / 0.6861 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.1942, allocations: 0 / 0.6861 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1942, allocations: 3.938 kB / 0.6861 GB, free: 10 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1944, allocations: 224.6 kB / 0.6863 GB, free: 9.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1944, allocations: 4 kB / 0.6863 GB, free: 9.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1947, allocations: 64 kB / 0.6864 GB, free: 9.715 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.0002553/0.195, allocations: 155.2 kB / 0.6866 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1952, allocations: 95.86 kB / 0.6866 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1952, allocations: 0 / 0.6866 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1954, allocations: 43.91 kB / 0.6867 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1956, allocations: 21.36 kB / 0.6867 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.1962, allocations: 340.8 kB / 0.687 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1964, allocations: 0.7238 MB / 0.6877 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.1965, allocations: 16.55 kB / 0.6878 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.1965, allocations: 15.44 kB / 0.6878 GB, free: 8.254 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1965, allocations: 0 / 0.6878 GB, free: 8.254 MB / 494.1 MB Notification: Performance of Templates: time 0.004891/0.2014, allocations: 2.036 MB / 0.6898 GB, free: 6.234 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)