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.0008117/0.0008118, allocations: 91.84 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.004803/0.004803, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.328/1.328, 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.001828/0.001828, allocations: 278.6 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.9662/0.9662, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004592, allocations: 14.44 kB / 0.5987 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1768, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001584/0.1784, allocations: 1.17 MB / 0.6863 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1799, allocations: 0.8938 MB / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.18, allocations: 0.625 kB / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1801, allocations: 8.625 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.1806, allocations: 106.4 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.1808, allocations: 82.53 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1809, allocations: 91.73 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.181, allocations: 0.8438 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.181, allocations: 35.34 kB / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1812, allocations: 51.81 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1812, allocations: 4 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.1815, allocations: 215.7 kB / 0.6877 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.1816, allocations: 47.89 kB / 0.6878 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.1817, allocations: 81.3 kB / 0.6878 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.182, allocations: 255.8 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.182, allocations: 0.5 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.182, allocations: 3.938 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.182, allocations: 0.5312 kB / 0.6881 GB, free: 12.01 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.0006147/0.1827, allocations: 461.9 kB / 0.6885 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1827, allocations: 8.031 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.1827, allocations: 16.75 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.183, allocations: 263.9 kB / 0.6888 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.183, allocations: 5.125 kB / 0.6888 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1831, allocations: 4.125 kB / 0.6888 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1832, allocations: 79.25 kB / 0.6889 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1833, allocations: 0 / 0.6889 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1833, allocations: 1.656 kB / 0.6889 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1833, allocations: 0 / 0.6889 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.1835, allocations: 94.28 kB / 0.689 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.1837, allocations: 229.6 kB / 0.6892 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.184, allocations: 120.7 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1841, allocations: 59.91 kB / 0.6894 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.1842, allocations: 15.98 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1842, allocations: 34.55 kB / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1842, allocations: 0 / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004354/0.1847, allocations: 184.2 kB / 0.6896 GB, free: 10.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.1847, allocations: 52.28 kB / 0.6896 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.185, allocations: 308.2 kB / 0.6899 GB, free: 9.941 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.185, allocations: 25.7 kB / 0.69 GB, free: 9.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.1851, allocations: 120.1 kB / 0.6901 GB, free: 9.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1851, allocations: 15.83 kB / 0.6901 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.1851, allocations: 9.719 kB / 0.6901 GB, free: 9.758 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1852, allocations: 330.8 kB / 0.6904 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1854, allocations: 43.97 kB / 0.6905 GB, free: 9.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1855, allocations: 66.72 kB / 0.6905 GB, free: 9.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1857, allocations: 104.8 kB / 0.6906 GB, free: 9.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1857, allocations: 0 / 0.6906 GB, free: 9.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002853/0.186, allocations: 145.4 kB / 0.6908 GB, free: 9.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.186, allocations: 5.719 kB / 0.6908 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.186, allocations: 0 / 0.6908 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1861, allocations: 0 / 0.6908 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.1861, allocations: 15.98 kB / 0.6908 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1862, allocations: 0 / 0.6908 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.1863, allocations: 17.89 kB / 0.6908 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1863, allocations: 0 / 0.6908 GB, free: 9.02 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 0.0001095/0.1864, allocations: 131.1 kB / 0.6909 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.1864, allocations: 23.69 kB / 0.6909 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.1868, allocations: 150.5 kB / 0.6911 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1868, allocations: 0 / 0.6911 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1868, allocations: 0 / 0.6911 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1868, allocations: 4 kB / 0.6911 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.187, allocations: 213.5 kB / 0.6913 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.187, allocations: 0 / 0.6913 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.1871, allocations: 15.98 kB / 0.6913 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1871, allocations: 4 kB / 0.6913 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1871, allocations: 4 kB / 0.6913 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1871, allocations: 0 / 0.6913 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1871, allocations: 0 / 0.6913 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.1874, allocations: 168.8 kB / 0.6915 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.1874, allocations: 92.92 kB / 0.6916 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.1875, allocations: 4 kB / 0.6916 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-05/0.1875, allocations: 11.98 kB / 0.6916 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1876, allocations: 4 kB / 0.6916 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1876, allocations: 3.938 kB / 0.6916 GB, free: 8.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.1878, allocations: 220.6 kB / 0.6918 GB, free: 7.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1878, allocations: 0 / 0.6918 GB, free: 7.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000347/0.1882, allocations: 75.98 kB / 0.6919 GB, free: 7.812 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.0002805/0.1884, allocations: 151.2 kB / 0.692 GB, free: 7.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1887, allocations: 99.92 kB / 0.6921 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1887, allocations: 4 kB / 0.6921 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1889, allocations: 47.91 kB / 0.6922 GB, free: 7.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.1891, allocations: 17.36 kB / 0.6922 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.1896, allocations: 343.7 kB / 0.6925 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1899, allocations: 0.7238 MB / 0.6932 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.19, allocations: 24.8 kB / 0.6932 GB, free: 6.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.19, allocations: 11.44 kB / 0.6932 GB, free: 6.344 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.19, allocations: 0 / 0.6932 GB, free: 6.344 MB / 494.1 MB Notification: Performance of Templates: time 0.00465/0.1947, allocations: 1.998 MB / 0.6952 GB, free: 4.363 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)