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.001184/0.001184, 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.001243/0.001243, allocations: 189.2 kB / 16.25 MB, free: 6.617 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 291 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 94.33 kB / 0.5948 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1772, allocations: 86.98 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002687/0.1799, allocations: 1.497 MB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1813, allocations: 0.8838 MB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.1814, allocations: 4 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1816, allocations: 5.547 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.1821, allocations: 122.2 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1824, allocations: 101.1 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1825, allocations: 67.75 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.1825, allocations: 5.812 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.1826, allocations: 27.92 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1828, allocations: 55.81 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1828, allocations: 4 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.1831, allocations: 231.7 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.1832, allocations: 51.81 kB / 0.6827 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.1833, allocations: 59.59 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.1836, allocations: 283.2 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1836, allocations: 0 / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1836, allocations: 0 / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1836, allocations: 0 / 0.683 GB, free: 13.57 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.0006249/0.1843, allocations: 0.4905 MB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1843, allocations: 12.03 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.1843, allocations: 38.75 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.1844, allocations: 16.75 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.1849, allocations: 0.6511 MB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1849, allocations: 8.312 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.185, allocations: 3.938 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1851, allocations: 73.66 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1851, allocations: 3.938 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.1852, allocations: 4 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1852, allocations: 0 / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.1853, allocations: 75.94 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.1856, allocations: 325.5 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1859, allocations: 118.5 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.186, allocations: 48.89 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.186, allocations: 15.98 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1861, allocations: 34.56 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1861, allocations: 0 / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003776/0.1864, allocations: 173.4 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1865, allocations: 55.41 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.1871, allocations: 0.7742 MB / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1871, allocations: 25.7 kB / 0.6859 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.1872, allocations: 128.1 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1872, allocations: 11.84 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.1873, allocations: 17.72 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1874, allocations: 326.8 kB / 0.6864 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1875, allocations: 43.95 kB / 0.6864 GB, free: 9.898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1876, allocations: 62.53 kB / 0.6865 GB, free: 9.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1878, allocations: 88.8 kB / 0.6865 GB, free: 9.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1878, allocations: 0 / 0.6865 GB, free: 9.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002377/0.188, allocations: 141.3 kB / 0.6867 GB, free: 9.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1881, allocations: 4 kB / 0.6867 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1881, allocations: 0 / 0.6867 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1881, allocations: 0 / 0.6867 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.1882, allocations: 11.98 kB / 0.6867 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1882, allocations: 0 / 0.6867 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.915e-05/0.1883, allocations: 11.98 kB / 0.6867 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1883, allocations: 0 / 0.6867 GB, free: 9.566 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.591e-05/0.1884, allocations: 139.1 kB / 0.6868 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.1884, allocations: 23.72 kB / 0.6869 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.1887, allocations: 142.7 kB / 0.687 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1887, allocations: 0 / 0.687 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1887, allocations: 0 / 0.687 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1887, allocations: 0 / 0.687 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.1889, allocations: 237.5 kB / 0.6872 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1889, allocations: 0 / 0.6872 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.189, allocations: 8 kB / 0.6872 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.189, allocations: 4 kB / 0.6872 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.189, allocations: 3.984 kB / 0.6872 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.189, allocations: 4 kB / 0.6872 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.189, allocations: 0 / 0.6872 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1892, allocations: 156.8 kB / 0.6874 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1893, allocations: 104.8 kB / 0.6875 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1893, allocations: 4 kB / 0.6875 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1894, allocations: 7.984 kB / 0.6875 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1895, allocations: 4 kB / 0.6875 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1895, allocations: 0 / 0.6875 GB, free: 8.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004587/0.1899, allocations: 0.6214 MB / 0.6881 GB, free: 8.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1899, allocations: 0 / 0.6881 GB, free: 8.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1902, allocations: 68 kB / 0.6882 GB, free: 7.949 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.0006529/0.1909, allocations: 0.7527 MB / 0.6889 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.1911, allocations: 88.14 kB / 0.689 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1911, allocations: 0 / 0.689 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1913, allocations: 52.05 kB / 0.689 GB, free: 7.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1915, allocations: 18.44 kB / 0.6891 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.1947, allocations: 3.323 MB / 0.6923 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.195, allocations: 0.7278 MB / 0.693 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.983e-05/0.1951, allocations: 24.64 kB / 0.693 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.1952, allocations: 51.36 kB / 0.6931 GB, free: 2.793 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1952, allocations: 7.875 kB / 0.6931 GB, free: 2.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.213, allocations: 4.438 MB / 0.6974 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.2132, allocations: 229.9 kB / 0.6977 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.074, allocations: 0 / 0.6977 GB, free: 14.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)