Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007677/0.007677, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001392/0.001392, allocations: 188 kB / 16.67 MB, free: 5.977 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 275.1 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9542/0.9542, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 107.8 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1772, allocations: 86.97 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002028/0.1793, allocations: 1.226 MB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1803, allocations: 0.706 MB / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.1803, allocations: 0 / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1803, allocations: 0 / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.1805, allocations: 4 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1807, allocations: 91.69 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.836e-05/0.1808, allocations: 11.92 kB / 0.7684 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1809, allocations: 7.984 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.1809, allocations: 15.94 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.181, allocations: 0 / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.181, allocations: 0 / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.1812, allocations: 135.8 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.1813, allocations: 7.969 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.1813, allocations: 7.938 kB / 0.7685 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1814, allocations: 75.83 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1814, allocations: 0 / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1815, allocations: 0 / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1815, allocations: 0 / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003397/0.1818, allocations: 331.5 kB / 0.7689 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1818, allocations: 15.97 kB / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.1819, allocations: 0.9375 kB / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.238e-05/0.182, allocations: 168.4 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.182, allocations: 384 / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.182, allocations: 11.88 kB / 0.7691 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.614e-05/0.1821, allocations: 30.16 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1821, allocations: 3.984 kB / 0.7692 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1821, allocations: 4 kB / 0.7692 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1821, allocations: 4 kB / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.1822, allocations: 0 / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.1823, allocations: 157.7 kB / 0.7693 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.701e-05/0.1824, allocations: 22.55 kB / 0.7693 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.1824, allocations: 8.922 kB / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/0.1828, allocations: 417.4 kB / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1828, allocations: 34.56 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1828, allocations: 4 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001241/0.183, allocations: 41.69 kB / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.183, allocations: 51.41 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.1831, allocations: 97.86 kB / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1831, allocations: 25.7 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.1831, allocations: 80.14 kB / 0.7701 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1831, allocations: 7.844 kB / 0.7701 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.1832, allocations: 21.95 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.1833, allocations: 314.8 kB / 0.7704 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.1833, allocations: 0 / 0.7704 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.1833, allocations: 7.938 kB / 0.7704 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.1833, allocations: 12.86 kB / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1833, allocations: 0 / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.545e-05/0.1834, allocations: 41.62 kB / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1834, allocations: 10.19 kB / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1834, allocations: 96 / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1834, allocations: 4 kB / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.1835, allocations: 4 kB / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1835, allocations: 0 / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.1835, allocations: 0 / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.1835, allocations: 0 / 0.7705 GB, free: 3.941 MB / 0.5606 GB 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 (2): * Single equations (assignments): 2 * 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 6.903e-05/0.1836, allocations: 118.4 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.1836, allocations: 7.906 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.1837, allocations: 48.75 kB / 0.7706 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1837, allocations: 4.031 kB / 0.7706 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1837, allocations: 3.938 kB / 0.7706 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1837, allocations: 0 / 0.7706 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.196e-05/0.1838, allocations: 157.6 kB / 0.7708 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1838, allocations: 0 / 0.7708 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.1838, allocations: 4 kB / 0.7708 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1838, allocations: 0 / 0.7708 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.1839, allocations: 0 / 0.7708 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1839, allocations: 4 kB / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1839, allocations: 0 / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.792e-05/0.1839, allocations: 73 kB / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.184, allocations: 81.11 kB / 0.7709 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.184, allocations: 0 / 0.7709 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.184, allocations: 4 kB / 0.7709 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.184, allocations: 0 / 0.7709 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.184, allocations: 0 / 0.7709 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.906e-05/0.1841, allocations: 83.27 kB / 0.771 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1841, allocations: 4.125 kB / 0.771 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002062/0.1843, allocations: 20 kB / 0.771 GB, free: 3.242 MB / 0.5606 GB 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 (2): * Single equations (assignments): 2 * 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.0001863/0.1845, allocations: 123.2 kB / 0.7712 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.1845, allocations: 15.94 kB / 0.7712 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1846, allocations: 0 / 0.7712 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.1846, allocations: 4 kB / 0.7712 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1847, allocations: 3.938 kB / 0.7712 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.185, allocations: 97.67 kB / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1852, allocations: 0.6729 MB / 0.7719 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.1853, allocations: 0 / 0.7719 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.1853, allocations: 11.44 kB / 0.7719 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.1853, allocations: 0 / 0.7719 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.002588/0.1879, allocations: 0.7188 MB / 0.7727 GB, free: 1.543 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)