Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01081/0.01081, allocations: 109.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001219/0.001219, allocations: 179.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.125/2.125, allocations: 194.6 MB / 211.3 MB, free: 10.96 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.253/2.253, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006803/0.0006802, allocations: 8 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7214, allocations: 98.73 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.3276/1.049, allocations: 193.2 MB / 0.8721 GB, free: 12.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02277/1.072, allocations: 10.23 MB / 0.8821 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/1.074, allocations: 47.69 kB / 0.8821 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004678/1.079, allocations: 1.066 MB / 0.8832 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01187/1.091, allocations: 2.894 MB / 0.886 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007314/1.098, allocations: 1.622 MB / 0.8876 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00647/1.105, allocations: 2.59 MB / 0.8901 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/1.108, allocations: 1.213 MB / 0.8913 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004368/1.112, allocations: 1.273 MB / 0.8925 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/1.115, allocations: 0.9533 MB / 0.8935 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005985/1.116, allocations: 76 kB / 0.8935 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006/1.122, allocations: 1.349 MB / 0.8949 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/1.123, allocations: 0.5414 MB / 0.8954 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/1.124, allocations: 420.7 kB / 0.8958 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00573/1.13, allocations: 2.385 MB / 0.8981 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/1.13, allocations: 0 / 0.8981 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.424e-06/1.13, allocations: 0 / 0.8981 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.81e-05/1.13, allocations: 0 / 0.8981 GB, free: 2.027 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00829/1.138, allocations: 2.135 MB / 0.9002 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.138, allocations: 8.031 kB / 0.9002 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006358/1.139, allocations: 198.6 kB / 0.9004 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005444/1.144, allocations: 0.5321 MB / 0.9009 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/1.148, allocations: 1.166 MB / 0.9021 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/1.148, allocations: 106.6 kB / 0.9022 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/1.148, allocations: 136 kB / 0.9023 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004848/1.153, allocations: 1.654 MB / 0.9039 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/1.153, allocations: 0 / 0.9039 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/1.154, allocations: 59.98 kB / 0.904 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/1.154, allocations: 74.52 kB / 0.904 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005071/1.159, allocations: 1.443 MB / 0.9054 GB, free: 10.31 MB / 0.7292 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.01554/1.175, allocations: 6.93 MB / 0.9122 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/1.178, allocations: 1.184 MB / 0.9134 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000945/1.179, allocations: 0.6892 MB / 0.914 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001883/1.181, allocations: 0.6064 MB / 0.9146 GB, free: 248 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=109): time 4.929e-06/1.181, allocations: 0 / 0.9146 GB, free: 248 kB / 0.7292 GB Notification: Performance of matching and sorting (n=109): time 0.5491/1.73, allocations: 1.552 MB / 0.9162 GB, free: 215.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/1.73, allocations: 88.45 kB / 0.9162 GB, free: 215.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/1.733, allocations: 1.165 MB / 0.9174 GB, free: 215.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002933/1.733, allocations: 48.83 kB / 0.9174 GB, free: 215 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007877/1.734, allocations: 0.6669 MB / 0.9181 GB, free: 214.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006038/1.734, allocations: 386.4 kB / 0.9184 GB, free: 214.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/1.735, allocations: 24.31 kB / 0.9185 GB, free: 214.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.735, allocations: 344.5 kB / 0.9188 GB, free: 214 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/1.736, allocations: 421 kB / 0.9192 GB, free: 213.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/1.738, allocations: 0.5636 MB / 0.9197 GB, free: 213.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/1.74, allocations: 0.5188 MB / 0.9202 GB, free: 213.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.74, allocations: 5.344 kB / 0.9203 GB, free: 213.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004425/1.744, allocations: 1.248 MB / 0.9215 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003168/1.745, allocations: 1.012 MB / 0.9225 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.745, allocations: 3.219 kB / 0.9225 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.102e-05/1.745, allocations: 8.828 kB / 0.9225 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/1.747, allocations: 219.4 kB / 0.9227 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/1.747, allocations: 6.906 kB / 0.9227 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/1.75, allocations: 179.6 kB / 0.9229 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/1.75, allocations: 37.62 kB / 0.9229 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.75, allocations: 5.656 kB / 0.9229 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003671/1.754, allocations: 1.094 MB / 0.924 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.754, allocations: 2.531 kB / 0.924 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.754, allocations: 8.484 kB / 0.924 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/1.756, allocations: 207.3 kB / 0.9242 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.624e-05/1.756, allocations: 11.48 kB / 0.9242 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/1.758, allocations: 169 kB / 0.9243 GB, free: 211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/1.759, allocations: 38.28 kB / 0.9244 GB, free: 211 MB / 0.7292 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): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.001366/1.76, allocations: 490.3 kB / 0.9249 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000571/1.761, allocations: 151.1 kB / 0.925 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/1.765, allocations: 1.225 MB / 0.9262 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/1.765, allocations: 11.75 kB / 0.9262 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.765, allocations: 0 / 0.9262 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002987/1.768, allocations: 0.9915 MB / 0.9272 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009295/1.777, allocations: 3.142 MB / 0.9302 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.777, allocations: 6.062 kB / 0.9302 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/1.779, allocations: 235.1 kB / 0.9305 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.471e-05/1.78, allocations: 7.031 kB / 0.9305 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/1.78, allocations: 32.03 kB / 0.9305 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/1.78, allocations: 7.922 kB / 0.9305 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.78, allocations: 7.922 kB / 0.9305 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005474/1.785, allocations: 2.107 MB / 0.9326 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.787, allocations: 363.1 kB / 0.9329 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/1.787, allocations: 28.48 kB / 0.933 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/1.79, allocations: 125.8 kB / 0.9331 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/1.79, allocations: 76.22 kB / 0.9331 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.79, allocations: 38.8 kB / 0.9332 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001921/1.792, allocations: 0.7997 MB / 0.934 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.71e-07/1.792, allocations: 0 / 0.934 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003713/1.796, allocations: 0.8549 MB / 0.9348 GB, free: 206.2 MB / 0.7292 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 (109): * Single equations (assignments): 107 * 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.007588/1.803, allocations: 3.798 MB / 0.9385 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005356/1.809, allocations: 1.763 MB / 0.9402 GB, free: 203 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.809, allocations: 1.094 kB / 0.9402 GB, free: 203 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.811, allocations: 0.5632 MB / 0.9408 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006965/1.818, allocations: 0.8029 MB / 0.9416 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.83, allocations: 6.677 MB / 0.9481 GB, free: 197.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/1.831, allocations: 1.395 MB / 0.9494 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003337/1.835, allocations: 446.4 kB / 0.9499 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/1.836, allocations: 0.6044 MB / 0.9505 GB, free: 196.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.643e-06/1.836, allocations: 0 / 0.9505 GB, free: 196.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1256/1.962, allocations: 40.84 MB / 0.9903 GB, free: 162.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/1.962, allocations: 263.7 kB / 0.9906 GB, free: 161.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.109/6.072, allocations: 0 / 0.9906 GB, free: 161.9 MB / 0.7292 GB