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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 191.7 kB / 16.53 MB, free: 6.664 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.504/1.504, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002665/0.002665, allocations: 278.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 169.2 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 102.4 kB / 0.5954 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.171, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002863/0.1739, allocations: 1.439 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1754, allocations: 0.8851 MB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.1755, allocations: 0 / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1756, allocations: 8.781 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.1761, allocations: 131.6 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1764, allocations: 110.6 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1765, allocations: 63.77 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.1766, allocations: 7.984 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1767, allocations: 35.91 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1768, allocations: 43.83 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1768, allocations: 4 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.1772, allocations: 235.6 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.892e-05/0.1773, allocations: 59.8 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.1774, allocations: 55.59 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.1779, allocations: 275.2 kB / 0.6836 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1779, allocations: 7.938 kB / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1779, allocations: 0 / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1779, allocations: 0 / 0.6836 GB, free: 13.21 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.0008748/0.1788, allocations: 0.4906 MB / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1789, allocations: 12.03 kB / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1789, allocations: 34.75 kB / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.179, allocations: 16.75 kB / 0.6841 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/0.1797, allocations: 0.6472 MB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1798, allocations: 4.375 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1798, allocations: 3.938 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.18, allocations: 77.59 kB / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.18, allocations: 4 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.18, allocations: 0 / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.18, allocations: 0 / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.1803, allocations: 75.94 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1807, allocations: 329.5 kB / 0.6852 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.181, allocations: 118.5 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.1811, allocations: 48.83 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.1811, allocations: 19.97 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1812, allocations: 34.55 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1812, allocations: 4 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004525/0.1816, allocations: 173.3 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1817, allocations: 51.41 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.1825, allocations: 0.7742 MB / 0.6864 GB, free: 10.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1826, allocations: 25.7 kB / 0.6864 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1827, allocations: 128.1 kB / 0.6865 GB, free: 9.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1827, allocations: 15.84 kB / 0.6865 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1828, allocations: 13.72 kB / 0.6866 GB, free: 9.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1829, allocations: 330.8 kB / 0.6869 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1831, allocations: 47.91 kB / 0.6869 GB, free: 9.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1832, allocations: 58.55 kB / 0.687 GB, free: 9.473 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1834, allocations: 92.78 kB / 0.6871 GB, free: 9.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1834, allocations: 0 / 0.6871 GB, free: 9.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003011/0.1837, allocations: 133.4 kB / 0.6872 GB, free: 9.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1838, allocations: 4 kB / 0.6872 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1838, allocations: 0 / 0.6872 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1838, allocations: 0 / 0.6872 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.1839, allocations: 11.98 kB / 0.6872 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1839, allocations: 7.922 kB / 0.6872 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.184, allocations: 15.98 kB / 0.6872 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.184, allocations: 3.938 kB / 0.6872 GB, free: 9.199 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.0001189/0.1841, allocations: 135.1 kB / 0.6874 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1842, allocations: 19.72 kB / 0.6874 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.1845, allocations: 138.9 kB / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1845, allocations: 0 / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.1845, allocations: 0 / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1845, allocations: 0 / 0.6875 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.1848, allocations: 237.5 kB / 0.6877 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1848, allocations: 0 / 0.6877 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.1848, allocations: 15.98 kB / 0.6878 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1849, allocations: 0 / 0.6878 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1849, allocations: 3.938 kB / 0.6878 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1849, allocations: 3.938 kB / 0.6878 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1849, allocations: 0 / 0.6878 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1852, allocations: 156.8 kB / 0.6879 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.1853, allocations: 104.9 kB / 0.688 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1853, allocations: 0 / 0.688 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.1854, allocations: 7.984 kB / 0.688 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1854, allocations: 4 kB / 0.688 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1854, allocations: 432 / 0.688 GB, free: 8.281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006305/0.1861, allocations: 0.6214 MB / 0.6886 GB, free: 7.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1861, allocations: 0 / 0.6886 GB, free: 7.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1864, allocations: 64 kB / 0.6887 GB, free: 7.598 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.0008078/0.1872, allocations: 0.7623 MB / 0.6894 GB, free: 6.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.1875, allocations: 87.92 kB / 0.6895 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1875, allocations: 0 / 0.6895 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1876, allocations: 51.91 kB / 0.6896 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1879, allocations: 14.45 kB / 0.6896 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.1918, allocations: 3.299 MB / 0.6928 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1922, allocations: 0.7317 MB / 0.6935 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.1923, allocations: 24.58 kB / 0.6935 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.1924, allocations: 51.42 kB / 0.6936 GB, free: 2.457 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1924, allocations: 0 / 0.6936 GB, free: 2.457 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.2212, allocations: 4.558 MB / 0.698 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/8.619, allocations: 13.72 kB / 0.6981 GB, free: 14.04 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)