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.266/2.266, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001534/0.001533, allocations: 181.4 kB / 315.4 MB, free: 4.023 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.071/2.071, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.001209, allocations: 98.38 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.481e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.152/7.364, allocations: 2.203 GB / 3.087 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/7.364, allocations: 86.95 kB / 3.087 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.498/12.86, allocations: 1.018 GB / 4.105 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/12.86, allocations: 3.25 kB / 4.105 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002108/12.86, allocations: 52.36 kB / 4.105 GB, free: 124.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.009762/12.87, allocations: 2.164 MB / 4.107 GB, free: 123 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/12.87, allocations: 12.75 kB / 4.107 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/12.88, allocations: 0.5152 MB / 4.107 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/12.88, allocations: 1.273 MB / 4.109 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-05/12.88, allocations: 42.69 kB / 4.109 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004905/12.88, allocations: 85 kB / 4.109 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003567/12.89, allocations: 1.202 MB / 4.11 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/12.89, allocations: 1.43 MB / 4.111 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/12.89, allocations: 7.75 kB / 4.111 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/12.89, allocations: 1.203 kB / 4.111 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-05/12.89, allocations: 58.2 kB / 4.111 GB, free: 120.5 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.01464/12.91, allocations: 7.06 MB / 4.118 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/12.91, allocations: 1.206 MB / 4.12 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/12.91, allocations: 0.5683 MB / 4.12 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/12.91, allocations: 0.8666 MB / 4.121 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/12.91, allocations: 0.5958 MB / 4.122 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 5.019e-06/12.91, allocations: 0 / 4.122 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.003839/12.92, allocations: 1.132 MB / 4.123 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/12.92, allocations: 91.83 kB / 4.123 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/12.92, allocations: 0.8232 MB / 4.124 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003311/12.92, allocations: 29.7 kB / 4.124 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007351/12.92, allocations: 0.6953 MB / 4.124 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005575/12.92, allocations: 371.4 kB / 4.125 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/12.92, allocations: 0 / 4.125 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/12.92, allocations: 345.6 kB / 4.125 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/12.92, allocations: 412.9 kB / 4.125 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/12.92, allocations: 0.5725 MB / 4.126 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/12.92, allocations: 0.5007 MB / 4.126 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/12.92, allocations: 0 / 4.126 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003292/12.93, allocations: 1.177 MB / 4.128 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002503/12.93, allocations: 0.9738 MB / 4.128 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/12.93, allocations: 1.094 kB / 4.128 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/12.93, allocations: 11.12 kB / 4.128 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/12.93, allocations: 225.3 kB / 4.129 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/12.93, allocations: 12.7 kB / 4.129 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/12.93, allocations: 131.4 kB / 4.129 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/12.93, allocations: 46.14 kB / 4.129 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/12.93, allocations: 6.969 kB / 4.129 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002759/12.94, allocations: 1.006 MB / 4.13 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/12.94, allocations: 3.953 kB / 4.13 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/12.94, allocations: 9.844 kB / 4.13 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/12.94, allocations: 223.9 kB / 4.13 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/12.94, allocations: 4 kB / 4.13 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/12.94, allocations: 138.5 kB / 4.13 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/12.94, allocations: 39.98 kB / 4.13 GB, free: 105.8 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.0004099/12.94, allocations: 128.7 kB / 4.13 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003041/12.94, allocations: 1.089 MB / 4.131 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/12.94, allocations: 146 kB / 4.132 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/12.95, allocations: 1.197 MB / 4.133 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/12.95, allocations: 8 kB / 4.133 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/12.95, allocations: 14.8 kB / 4.133 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002362/12.95, allocations: 0.9984 MB / 4.134 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008123/12.96, allocations: 3.108 MB / 4.137 GB, free: 99.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/12.96, allocations: 7.469 kB / 4.137 GB, free: 99.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/12.96, allocations: 247.7 kB / 4.137 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.36e-05/12.96, allocations: 11.66 kB / 4.137 GB, free: 98.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/12.96, allocations: 19.94 kB / 4.137 GB, free: 98.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/12.96, allocations: 8 kB / 4.137 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/12.96, allocations: 4 kB / 4.137 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004522/12.97, allocations: 2.116 MB / 4.139 GB, free: 96.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/12.97, allocations: 371.1 kB / 4.14 GB, free: 96.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/12.97, allocations: 8.094 kB / 4.14 GB, free: 96.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/12.97, allocations: 112 kB / 4.14 GB, free: 96.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/12.97, allocations: 79.92 kB / 4.14 GB, free: 95.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/12.97, allocations: 43.97 kB / 4.14 GB, free: 95.92 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001227/12.97, allocations: 0.6307 MB / 4.14 GB, free: 95.28 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/12.97, allocations: 0 / 4.14 GB, free: 95.28 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003914/12.98, allocations: 1.017 MB / 4.141 GB, free: 94.26 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.01015/12.99, allocations: 6.363 MB / 4.148 GB, free: 88.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003902/12.99, allocations: 1.615 MB / 4.149 GB, free: 86.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/12.99, allocations: 2.906 kB / 4.149 GB, free: 86.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/12.99, allocations: 0.5436 MB / 4.15 GB, free: 86.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006109/13, allocations: 0.6931 MB / 4.15 GB, free: 85.51 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008942/13.01, allocations: 3.067 MB / 4.153 GB, free: 82.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/13.01, allocations: 1.409 MB / 4.155 GB, free: 80.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004625/13.01, allocations: 0.5629 MB / 4.155 GB, free: 80.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/13.01, allocations: 0.593 MB / 4.156 GB, free: 79.81 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/13.01, allocations: 0 / 4.156 GB, free: 79.81 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/13.16, allocations: 57.5 MB / 4.212 GB, free: 22.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/13.16, allocations: 179.7 kB / 4.212 GB, free: 22.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.648/18.81, allocations: 0 / 4.212 GB, free: 22.57 MB / 0.8855 GB