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.195/2.195, allocations: 248.5 MB / 261.1 MB, free: 5.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 178.5 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.2 MB / 0.5711 GB, free: 11.72 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.001126/0.001125, allocations: 101.8 kB / 0.6754 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.723e-05/4.731e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.03/7.237, allocations: 2.202 GB / 3.093 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/7.237, allocations: 91.39 kB / 3.093 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.647/12.88, allocations: 1.03 GB / 4.123 GB, free: 96.55 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.864e-06/12.88, allocations: 4 kB / 4.123 GB, free: 96.54 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002011/12.88, allocations: 51.27 kB / 4.123 GB, free: 96.5 MB / 0.8855 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.009717/12.89, allocations: 2.168 MB / 4.125 GB, free: 94.28 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/12.89, allocations: 12.03 kB / 4.125 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007292/12.9, allocations: 199.8 kB / 4.125 GB, free: 94.06 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00545/12.9, allocations: 0.5128 MB / 4.126 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/12.9, allocations: 1.268 MB / 4.127 GB, free: 92.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/12.9, allocations: 114.7 kB / 4.127 GB, free: 92.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004764/12.91, allocations: 143.7 kB / 4.127 GB, free: 91.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004183/12.91, allocations: 1.63 MB / 4.129 GB, free: 90.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-05/12.91, allocations: 7.938 kB / 4.129 GB, free: 90.26 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/12.91, allocations: 56 kB / 4.129 GB, free: 90.21 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.633e-05/12.91, allocations: 58.61 kB / 4.129 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/12.91, allocations: 1.353 MB / 4.13 GB, free: 88.79 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.0131/12.93, allocations: 7.178 MB / 4.137 GB, free: 81.16 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/12.93, allocations: 1.145 MB / 4.138 GB, free: 79.98 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/12.93, allocations: 0.5739 MB / 4.139 GB, free: 79.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/12.93, allocations: 0.8672 MB / 4.14 GB, free: 78.35 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/12.93, allocations: 0.5911 MB / 4.14 GB, free: 77.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 4.519e-06/12.93, allocations: 3.938 kB / 4.14 GB, free: 77.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.003237/12.94, allocations: 1.105 MB / 4.141 GB, free: 76.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/12.94, allocations: 94.09 kB / 4.141 GB, free: 76.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/12.94, allocations: 1.033 MB / 4.142 GB, free: 75.47 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002279/12.94, allocations: 49.7 kB / 4.143 GB, free: 75.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007034/12.94, allocations: 0.6815 MB / 4.143 GB, free: 74.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000483/12.94, allocations: 382.4 kB / 4.144 GB, free: 74.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/12.94, allocations: 20 kB / 4.144 GB, free: 74.33 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/12.94, allocations: 345.9 kB / 4.144 GB, free: 73.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/12.94, allocations: 389.9 kB / 4.144 GB, free: 73.61 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/12.94, allocations: 0.5702 MB / 4.145 GB, free: 72.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/12.94, allocations: 480.7 kB / 4.145 GB, free: 72.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/12.94, allocations: 0 / 4.145 GB, free: 72.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003154/12.95, allocations: 1.167 MB / 4.146 GB, free: 71.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002346/12.95, allocations: 0.9769 MB / 4.147 GB, free: 70.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/12.95, allocations: 4 kB / 4.147 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/12.95, allocations: 8 kB / 4.147 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/12.95, allocations: 227.6 kB / 4.148 GB, free: 70.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/12.95, allocations: 4 kB / 4.148 GB, free: 70.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/12.95, allocations: 178.9 kB / 4.148 GB, free: 69.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/12.95, allocations: 40 kB / 4.148 GB, free: 69.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/12.95, allocations: 4 kB / 4.148 GB, free: 69.84 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002638/12.95, allocations: 1.007 MB / 4.149 GB, free: 68.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/12.95, allocations: 0 / 4.149 GB, free: 68.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/12.95, allocations: 11.95 kB / 4.149 GB, free: 68.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/12.96, allocations: 211.7 kB / 4.149 GB, free: 68.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/12.96, allocations: 15.92 kB / 4.149 GB, free: 68.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/12.96, allocations: 167.2 kB / 4.149 GB, free: 68.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/12.96, allocations: 39.94 kB / 4.149 GB, free: 68.4 MB / 0.8855 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 () * 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.0004073/12.96, allocations: 166.2 kB / 4.149 GB, free: 68.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/12.96, allocations: 150.2 kB / 4.15 GB, free: 68.08 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/12.96, allocations: 1.2 MB / 4.151 GB, free: 66.87 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/12.96, allocations: 15.95 kB / 4.151 GB, free: 66.85 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/12.96, allocations: 0 / 4.151 GB, free: 66.85 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002227/12.97, allocations: 0.9639 MB / 4.152 GB, free: 65.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008374/12.97, allocations: 3.147 MB / 4.155 GB, free: 62.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/12.97, allocations: 4 kB / 4.155 GB, free: 62.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/12.98, allocations: 239.7 kB / 4.155 GB, free: 62.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/12.98, allocations: 11.84 kB / 4.155 GB, free: 62.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/12.98, allocations: 27.98 kB / 4.155 GB, free: 62.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/12.98, allocations: 12 kB / 4.155 GB, free: 62.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/12.98, allocations: 4.156 kB / 4.155 GB, free: 62.32 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004313/12.98, allocations: 2.073 MB / 4.157 GB, free: 60.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/12.98, allocations: 382.8 kB / 4.157 GB, free: 59.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/12.98, allocations: 24 kB / 4.157 GB, free: 59.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/12.99, allocations: 119.8 kB / 4.158 GB, free: 59.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/12.99, allocations: 72.94 kB / 4.158 GB, free: 59.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/12.99, allocations: 43.97 kB / 4.158 GB, free: 59.46 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001767/12.99, allocations: 0.8083 MB / 4.158 GB, free: 58.65 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/12.99, allocations: 0 / 4.158 GB, free: 58.65 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004397/12.99, allocations: 1.111 MB / 4.16 GB, free: 57.54 MB / 0.8855 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) * 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.0158/13.01, allocations: 6.038 MB / 4.165 GB, free: 51.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007513/13.02, allocations: 1.592 MB / 4.167 GB, free: 49.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/13.02, allocations: 0 / 4.167 GB, free: 49.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/13.02, allocations: 0.542 MB / 4.167 GB, free: 49.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/13.03, allocations: 0.815 MB / 4.168 GB, free: 48.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/13.03, allocations: 3.137 MB / 4.171 GB, free: 45.23 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/13.03, allocations: 1.414 MB / 4.173 GB, free: 43.78 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004212/13.04, allocations: 0.5831 MB / 4.173 GB, free: 43.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/13.04, allocations: 0.6008 MB / 4.174 GB, free: 42.61 MB / 0.8855 GB Notification: Performance of SimCode: time 1.322e-06/13.04, allocations: 0 / 4.174 GB, free: 42.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.077/14.12, allocations: 87.11 MB / 4.259 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/14.12, allocations: 200.7 kB / 4.259 GB, free: 137 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/20.95, allocations: 3.938 kB / 4.259 GB, free: 137 MB / 0.9011 GB