Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0145/0.01451, allocations: 89.08 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001769/0.001769, allocations: 170 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.097/2.097, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.379/2.379, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004982, allocations: 17.64 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2441, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.039/1.284, allocations: 193.8 MB / 0.9173 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02442/1.308, allocations: 10.28 MB / 0.9274 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003701/1.312, allocations: 48.28 kB / 0.9274 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005275/1.317, allocations: 1.075 MB / 0.9285 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0139/1.331, allocations: 2.905 MB / 0.9313 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007943/1.339, allocations: 1.659 MB / 0.9329 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007027/1.346, allocations: 2.579 MB / 0.9354 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003162/1.349, allocations: 1.229 MB / 0.9366 GB, free: 232 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/1.354, allocations: 1.284 MB / 0.9379 GB, free: 0 / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/1.357, allocations: 0.9572 MB / 0.9388 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007991/1.358, allocations: 76.28 kB / 0.9389 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006797/1.365, allocations: 1.356 MB / 0.9402 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001586/1.367, allocations: 0.5439 MB / 0.9408 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001415/1.368, allocations: 411.9 kB / 0.9412 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00651/1.375, allocations: 2.411 MB / 0.9435 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.375, allocations: 0 / 0.9435 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.907e-06/1.375, allocations: 0 / 0.9435 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001191/1.375, allocations: 2.938 kB / 0.9435 GB, free: 14.03 MB / 0.6823 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.009649/1.384, allocations: 2.111 MB / 0.9456 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.384, allocations: 7.844 kB / 0.9456 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009945/1.385, allocations: 206 kB / 0.9458 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005882/1.391, allocations: 0.534 MB / 0.9463 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004569/1.396, allocations: 1.175 MB / 0.9474 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/1.396, allocations: 104.4 kB / 0.9475 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/1.398, allocations: 138.7 kB / 0.9477 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007085/1.405, allocations: 1.668 MB / 0.9493 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.982e-05/1.405, allocations: 6.531 kB / 0.9493 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/1.405, allocations: 61.72 kB / 0.9494 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/1.405, allocations: 76.25 kB / 0.9494 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005403/1.411, allocations: 1.451 MB / 0.9509 GB, free: 9.988 MB / 0.6823 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.01729/1.428, allocations: 6.963 MB / 0.9577 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/1.431, allocations: 1.194 MB / 0.9588 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.432, allocations: 0.6867 MB / 0.9595 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/1.435, allocations: 0.6047 MB / 0.9601 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 5.53e-06/1.435, allocations: 0 / 0.9601 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110): time 0.005933/1.441, allocations: 1.568 MB / 0.9616 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/1.441, allocations: 88.95 kB / 0.9617 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/1.444, allocations: 1.191 MB / 0.9629 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003925/1.444, allocations: 47.58 kB / 0.9629 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009824/1.445, allocations: 0.6864 MB / 0.9636 GB, free: 108 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007908/1.446, allocations: 389 kB / 0.964 GB, free: 15.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/1.446, allocations: 21.41 kB / 0.964 GB, free: 15.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.446, allocations: 344.7 kB / 0.9643 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/1.448, allocations: 410.8 kB / 0.9647 GB, free: 15.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.449, allocations: 0.5624 MB / 0.9652 GB, free: 14.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/1.451, allocations: 490.7 kB / 0.9657 GB, free: 14.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.451, allocations: 1.969 kB / 0.9657 GB, free: 14.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004162/1.455, allocations: 1.205 MB / 0.9669 GB, free: 13.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004153/1.455, allocations: 0.9837 MB / 0.9678 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.455, allocations: 4.547 kB / 0.9679 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/1.455, allocations: 4 kB / 0.9679 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/1.458, allocations: 216.7 kB / 0.9681 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/1.458, allocations: 12.28 kB / 0.9681 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/1.461, allocations: 177.9 kB / 0.9682 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/1.461, allocations: 39.98 kB / 0.9683 GB, free: 12.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.461, allocations: 4 kB / 0.9683 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003548/1.464, allocations: 1.02 MB / 0.9693 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.465, allocations: 4.312 kB / 0.9693 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.465, allocations: 12 kB / 0.9693 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/1.467, allocations: 207.7 kB / 0.9695 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/1.467, allocations: 11.98 kB / 0.9695 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/1.47, allocations: 170.8 kB / 0.9697 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/1.47, allocations: 39.94 kB / 0.9697 GB, free: 10.61 MB / 0.698 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.001517/1.471, allocations: 0.489 MB / 0.9702 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006556/1.472, allocations: 146.2 kB / 0.9703 GB, free: 9.961 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004338/1.476, allocations: 1.235 MB / 0.9715 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.476, allocations: 8 kB / 0.9715 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.476, allocations: 0 / 0.9715 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003367/1.48, allocations: 1.007 MB / 0.9725 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.49, allocations: 3.171 MB / 0.9756 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.49, allocations: 0 / 0.9756 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.493, allocations: 244 kB / 0.9759 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.442e-05/1.493, allocations: 4 kB / 0.9759 GB, free: 4.148 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/1.493, allocations: 32.06 kB / 0.9759 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.11e-05/1.493, allocations: 8 kB / 0.9759 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.493, allocations: 7.922 kB / 0.9759 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006095/1.499, allocations: 2.131 MB / 0.978 GB, free: 1.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.501, allocations: 371 kB / 0.9783 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005047/1.501, allocations: 27.95 kB / 0.9784 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/1.505, allocations: 122.1 kB / 0.9785 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/1.506, allocations: 76.94 kB / 0.9786 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.506, allocations: 35.98 kB / 0.9786 GB, free: 1.203 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002227/1.508, allocations: 0.8258 MB / 0.9794 GB, free: 384 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.508, allocations: 0 / 0.9794 GB, free: 384 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.004275/1.512, allocations: 0.8376 MB / 0.9802 GB, free: 15.53 MB / 0.7136 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 (110): * Single equations (assignments): 108 * 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.00893/1.521, allocations: 3.839 MB / 0.984 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005597/1.527, allocations: 1.6 MB / 0.9855 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.527, allocations: 0 / 0.9855 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/1.529, allocations: 0.565 MB / 0.9861 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007276/1.536, allocations: 0.8134 MB / 0.9869 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0293/1.566, allocations: 11.08 MB / 0.9977 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.568, allocations: 1.407 MB / 0.9991 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003498/1.571, allocations: 451.6 kB / 0.9995 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/1.573, allocations: 0.6164 MB / 1 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.433e-06/1.573, allocations: 0 / 1 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/1.705, allocations: 41.84 MB / 1.041 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/1.705, allocations: 242.9 kB / 1.041 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.332/6.037, allocations: 0 / 1.041 GB, free: 1.234 MB / 0.7605 GB