Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.58/2.58, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 186.6 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 90.17 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004696, allocations: 10.88 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.679/6.888, allocations: 2.084 GB / 3.062 GB, free: 169.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/6.888, allocations: 90.52 kB / 3.063 GB, free: 169.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.675/12.56, allocations: 1.06 GB / 4.123 GB, free: 131.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.746e-06/12.56, allocations: 0 / 4.123 GB, free: 131.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002463/12.56, allocations: 49.59 kB / 4.123 GB, free: 131.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01173/12.58, allocations: 2.425 MB / 4.125 GB, free: 130.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/12.58, allocations: 9.812 kB / 4.125 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008567/12.58, allocations: 205.7 kB / 4.125 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/12.58, allocations: 0.5217 MB / 4.126 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/12.59, allocations: 1.263 MB / 4.127 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/12.59, allocations: 104 kB / 4.127 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/12.59, allocations: 143.1 kB / 4.127 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/12.59, allocations: 1.65 MB / 4.129 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.656e-05/12.59, allocations: 8.953 kB / 4.129 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/12.59, allocations: 55.75 kB / 4.129 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.785e-05/12.59, allocations: 54.38 kB / 4.129 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004378/12.6, allocations: 1.41 MB / 4.13 GB, free: 130.1 MB / 0.948 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.01436/12.61, allocations: 7.188 MB / 4.137 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/12.61, allocations: 1.177 MB / 4.139 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/12.61, allocations: 0.8669 MB / 4.139 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/12.62, allocations: 0.6062 MB / 4.14 GB, free: 125.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 4.599e-06/12.62, allocations: 0 / 4.14 GB, free: 125.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.00491/12.62, allocations: 1.575 MB / 4.142 GB, free: 125.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/12.62, allocations: 91.52 kB / 4.142 GB, free: 125.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/12.62, allocations: 1.037 MB / 4.143 GB, free: 124.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000287/12.62, allocations: 50.86 kB / 4.143 GB, free: 124.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007063/12.62, allocations: 0.6762 MB / 4.143 GB, free: 124.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/12.63, allocations: 389 kB / 4.144 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/12.63, allocations: 18.78 kB / 4.144 GB, free: 124.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/12.63, allocations: 343.7 kB / 4.144 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/12.63, allocations: 421 kB / 4.144 GB, free: 124.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/12.63, allocations: 0.5954 MB / 4.145 GB, free: 123.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/12.63, allocations: 0.4959 MB / 4.146 GB, free: 123.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/12.63, allocations: 3.938 kB / 4.146 GB, free: 123.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003446/12.63, allocations: 1.216 MB / 4.147 GB, free: 123.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002472/12.63, allocations: 0.9846 MB / 4.148 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/12.63, allocations: 3.5 kB / 4.148 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/12.63, allocations: 11.12 kB / 4.148 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/12.64, allocations: 221.8 kB / 4.148 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/12.64, allocations: 6.125 kB / 4.148 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/12.64, allocations: 175.2 kB / 4.148 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/12.64, allocations: 37.66 kB / 4.148 GB, free: 122.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/12.64, allocations: 4.562 kB / 4.148 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002842/12.64, allocations: 1.036 MB / 4.149 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/12.64, allocations: 7.094 kB / 4.149 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/12.64, allocations: 7.125 kB / 4.149 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/12.64, allocations: 215.3 kB / 4.149 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/12.64, allocations: 13.22 kB / 4.149 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/12.65, allocations: 162.6 kB / 4.15 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/12.65, allocations: 45.73 kB / 4.15 GB, free: 122.3 MB / 0.948 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.001355/12.65, allocations: 494.6 kB / 4.15 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/12.65, allocations: 152.1 kB / 4.15 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/12.65, allocations: 1.248 MB / 4.151 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/12.65, allocations: 15.59 kB / 4.151 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/12.65, allocations: 0 / 4.151 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002628/12.65, allocations: 1.013 MB / 4.152 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008106/12.66, allocations: 3.186 MB / 4.156 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/12.66, allocations: 7.312 kB / 4.156 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/12.66, allocations: 236.8 kB / 4.156 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/12.66, allocations: 9.719 kB / 4.156 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/12.66, allocations: 35.48 kB / 4.156 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/12.66, allocations: 7.891 kB / 4.156 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/12.66, allocations: 3.656 kB / 4.156 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005075/12.67, allocations: 2.139 MB / 4.158 GB, free: 118.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/12.67, allocations: 371.2 kB / 4.158 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/12.67, allocations: 26.81 kB / 4.158 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/12.67, allocations: 113 kB / 4.158 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/12.67, allocations: 78.67 kB / 4.158 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/12.67, allocations: 37.58 kB / 4.159 GB, free: 117.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001679/12.68, allocations: 0.8122 MB / 4.159 GB, free: 117.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.4e-07/12.68, allocations: 0 / 4.159 GB, free: 117.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004429/12.68, allocations: 1.105 MB / 4.16 GB, free: 117.2 MB / 0.948 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.01157/12.69, allocations: 6.175 MB / 4.166 GB, free: 113.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004749/12.7, allocations: 1.615 MB / 4.168 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/12.7, allocations: 0 / 4.168 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/12.7, allocations: 0.5639 MB / 4.169 GB, free: 113 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007109/12.71, allocations: 0.8072 MB / 4.169 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/12.73, allocations: 11.1 MB / 4.18 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/12.73, allocations: 1.396 MB / 4.182 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003389/12.74, allocations: 464.5 kB / 4.182 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/12.74, allocations: 0.6132 MB / 4.183 GB, free: 105.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/12.74, allocations: 0 / 4.183 GB, free: 105.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/12.92, allocations: 78.32 MB / 4.259 GB, free: 34.39 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007511/12.92, allocations: 230.4 kB / 4.259 GB, free: 34.15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.871/18.79, allocations: 7.875 kB / 4.259 GB, free: 34.14 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)