Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.361/2.361, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 181 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.491/2.491, allocations: 205.4 MB / 0.5764 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 97.56 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005078, allocations: 15.38 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2403, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.5/7.74, allocations: 2.202 GB / 3.101 GB, free: 244 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/7.741, allocations: 92.36 kB / 3.101 GB, free: 244 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.391/13.13, allocations: 1.031 GB / 4.132 GB, free: 130.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.405e-06/13.13, allocations: 0 / 4.132 GB, free: 130.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002586/13.13, allocations: 51.5 kB / 4.132 GB, free: 130.8 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.01161/13.14, allocations: 2.442 MB / 4.134 GB, free: 130.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/13.14, allocations: 9.312 kB / 4.134 GB, free: 130.1 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007741/13.14, allocations: 211.3 kB / 4.135 GB, free: 130 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/13.15, allocations: 0.5109 MB / 4.135 GB, free: 129.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/13.15, allocations: 1.272 MB / 4.136 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/13.15, allocations: 111.8 kB / 4.136 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/13.16, allocations: 140.9 kB / 4.137 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004893/13.16, allocations: 1.681 MB / 4.138 GB, free: 129.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.275e-05/13.16, allocations: 3.469 kB / 4.138 GB, free: 129.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/13.16, allocations: 57.78 kB / 4.138 GB, free: 129.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-05/13.16, allocations: 62.11 kB / 4.138 GB, free: 129.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004672/13.17, allocations: 1.419 MB / 4.14 GB, free: 129.4 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/13.18, allocations: 7.193 MB / 4.147 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/13.18, allocations: 1.175 MB / 4.148 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/13.18, allocations: 0.867 MB / 4.149 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/13.19, allocations: 0.6052 MB / 4.149 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 4.709e-06/13.19, allocations: 2.406 kB / 4.149 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.005013/13.19, allocations: 1.562 MB / 4.151 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/13.19, allocations: 91.95 kB / 4.151 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/13.19, allocations: 1.043 MB / 4.152 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003295/13.19, allocations: 50.58 kB / 4.152 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/13.19, allocations: 0.6884 MB / 4.153 GB, free: 124.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000577/13.19, allocations: 383 kB / 4.153 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/13.19, allocations: 20.53 kB / 4.153 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001041/13.19, allocations: 350.6 kB / 4.153 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/13.2, allocations: 413.9 kB / 4.154 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/13.2, allocations: 0.5877 MB / 4.154 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/13.2, allocations: 496.8 kB / 4.155 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/13.2, allocations: 3.281 kB / 4.155 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003535/13.2, allocations: 1.209 MB / 4.156 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002578/13.2, allocations: 0.9939 MB / 4.157 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/13.2, allocations: 0 / 4.157 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/13.2, allocations: 7.156 kB / 4.157 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/13.2, allocations: 223.5 kB / 4.157 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/13.2, allocations: 11.91 kB / 4.157 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/13.21, allocations: 172 kB / 4.157 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/13.21, allocations: 41.56 kB / 4.157 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/13.21, allocations: 4.219 kB / 4.157 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003218/13.21, allocations: 1.036 MB / 4.159 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/13.21, allocations: 2.938 kB / 4.159 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/13.21, allocations: 7 kB / 4.159 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/13.21, allocations: 213.6 kB / 4.159 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/13.21, allocations: 15.03 kB / 4.159 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/13.22, allocations: 166.8 kB / 4.159 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/13.22, allocations: 34.03 kB / 4.159 GB, free: 122.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001376/13.22, allocations: 0.4929 MB / 4.159 GB, free: 122 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005722/13.22, allocations: 161.4 kB / 4.16 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/13.22, allocations: 1.237 MB / 4.161 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/13.22, allocations: 13.94 kB / 4.161 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/13.22, allocations: 0 / 4.161 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002592/13.22, allocations: 1.009 MB / 4.162 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00885/13.23, allocations: 3.188 MB / 4.165 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/13.23, allocations: 3.875 kB / 4.165 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/13.24, allocations: 242 kB / 4.165 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.52e-05/13.24, allocations: 7.312 kB / 4.165 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/13.24, allocations: 31.75 kB / 4.165 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/13.24, allocations: 3.938 kB / 4.165 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/13.24, allocations: 3.812 kB / 4.165 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/13.24, allocations: 2.144 MB / 4.167 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/13.24, allocations: 381 kB / 4.168 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/13.24, allocations: 24.31 kB / 4.168 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/13.25, allocations: 122.2 kB / 4.168 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/13.25, allocations: 73.25 kB / 4.168 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/13.25, allocations: 42.27 kB / 4.168 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001774/13.25, allocations: 0.8231 MB / 4.169 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.924e-06/13.25, allocations: 0 / 4.169 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004421/13.25, allocations: 1.107 MB / 4.17 GB, free: 120.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/13.26, allocations: 6.166 MB / 4.176 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004381/13.27, allocations: 1.598 MB / 4.177 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/13.27, allocations: 0.5 kB / 4.177 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/13.27, allocations: 0.5616 MB / 4.178 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006955/13.28, allocations: 0.8108 MB / 4.179 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/13.3, allocations: 11.12 MB / 4.19 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/13.3, allocations: 1.409 MB / 4.191 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003195/13.3, allocations: 462.3 kB / 4.191 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/13.31, allocations: 0.6169 MB / 4.192 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.152e-06/13.31, allocations: 3.375 kB / 4.192 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/13.48, allocations: 78.6 MB / 4.269 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/13.48, allocations: 232.5 kB / 4.269 GB, free: 109.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.147/19.62, allocations: 0 / 4.269 GB, free: 109.3 MB / 0.9011 GB