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: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01046/0.01046, allocations: 220.6 kB / 15.17 MB, free: 6 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.001084/0.001084, allocations: 177.7 kB / 16.06 MB, free: 5.871 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 3.322/3.322, allocations: 389.1 MB / 405.9 MB, free: 67.65 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.265/4.265, allocations: 472.3 MB / 0.9018 GB, free: 13.46 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004919, allocations: 12 kB / 1.008 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5259, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7115/1.237, allocations: 210.3 MB / 1.309 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0175/1.255, allocations: 10.86 MB / 1.32 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/1.257, allocations: 47.12 kB / 1.32 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003254/1.261, allocations: 0.9503 MB / 1.321 GB, free: 6.266 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01017/1.271, allocations: 3.143 MB / 1.324 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005757/1.277, allocations: 1.607 MB / 1.326 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006893/1.284, allocations: 5.401 MB / 1.331 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/1.286, allocations: 1.184 MB / 1.332 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/1.289, allocations: 1.422 MB / 1.333 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/1.292, allocations: 1.424 MB / 1.335 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000344/1.292, allocations: 77.34 kB / 1.335 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/1.297, allocations: 1.21 MB / 1.336 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/1.298, allocations: 0.5866 MB / 1.337 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008242/1.299, allocations: 410.7 kB / 1.337 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004257/1.303, allocations: 2.413 MB / 1.339 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.168e-06/1.303, allocations: 3.094 kB / 1.339 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.52e-06/1.303, allocations: 4 kB / 1.339 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.685e-05/1.303, allocations: 0 / 1.339 GB, free: 5.848 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005911/1.309, allocations: 2.132 MB / 1.341 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/1.309, allocations: 8.688 kB / 1.341 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/1.314, allocations: 0.5323 MB / 1.342 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/1.317, allocations: 1.158 MB / 1.343 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/1.317, allocations: 103.1 kB / 1.343 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/1.317, allocations: 141.1 kB / 1.343 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/1.321, allocations: 1.671 MB / 1.345 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/1.321, allocations: 0 / 1.345 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/1.321, allocations: 57.56 kB / 1.345 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.335e-05/1.321, allocations: 70.66 kB / 1.345 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/1.325, allocations: 1.441 MB / 1.347 GB, free: 3.969 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.01161/1.337, allocations: 6.944 MB / 1.353 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/1.339, allocations: 1.171 MB / 1.354 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/1.34, allocations: 0.6066 MB / 1.355 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.341, allocations: 0.866 MB / 1.356 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/1.343, allocations: 0.6025 MB / 1.356 GB, free: 14.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=109): time 5.296e-06/1.343, allocations: 0 / 1.356 GB, free: 14.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=109): time 0.003969/1.347, allocations: 1.561 MB / 1.358 GB, free: 13.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/1.347, allocations: 87.2 kB / 1.358 GB, free: 13.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.349, allocations: 1.162 MB / 1.359 GB, free: 13.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/1.349, allocations: 51.52 kB / 1.359 GB, free: 13.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/1.349, allocations: 0.6712 MB / 1.36 GB, free: 12.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/1.35, allocations: 381.7 kB / 1.36 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/1.35, allocations: 21.53 kB / 1.36 GB, free: 12.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.35, allocations: 352.2 kB / 1.361 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009764/1.351, allocations: 420.4 kB / 1.361 GB, free: 12.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.352, allocations: 0.5705 MB / 1.362 GB, free: 12.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.353, allocations: 0.5157 MB / 1.362 GB, free: 12.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.575e-06/1.353, allocations: 1.859 kB / 1.362 GB, free: 12.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002857/1.356, allocations: 1.255 MB / 1.363 GB, free: 11.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/1.356, allocations: 194.3 kB / 1.364 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.356, allocations: 2.688 kB / 1.364 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.356, allocations: 13.2 kB / 1.364 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.358, allocations: 212.5 kB / 1.364 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/1.358, allocations: 12.3 kB / 1.364 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.36, allocations: 175 kB / 1.364 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.36, allocations: 40.03 kB / 1.364 GB, free: 11.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.36, allocations: 7.984 kB / 1.364 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002555/1.363, allocations: 1.09 MB / 1.365 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.363, allocations: 2.938 kB / 1.365 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/1.363, allocations: 8.375 kB / 1.365 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.364, allocations: 214.5 kB / 1.365 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.364, allocations: 9.125 kB / 1.365 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/1.366, allocations: 162.3 kB / 1.365 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.366, allocations: 34.5 kB / 1.365 GB, free: 11.19 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): 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.001151/1.367, allocations: 0.4915 MB / 1.366 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/1.367, allocations: 145.9 kB / 1.366 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/1.37, allocations: 1.231 MB / 1.367 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.37, allocations: 11.5 kB / 1.367 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-06/1.37, allocations: 0 / 1.367 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002232/1.373, allocations: 0.9951 MB / 1.368 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0073/1.38, allocations: 3.136 MB / 1.371 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.38, allocations: 1.859 kB / 1.371 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.382, allocations: 236.4 kB / 1.372 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.787e-05/1.382, allocations: 14.38 kB / 1.372 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.382, allocations: 25.62 kB / 1.372 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.776e-05/1.382, allocations: 9.672 kB / 1.372 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.619e-06/1.382, allocations: 3.156 kB / 1.372 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/1.386, allocations: 1.975 MB / 1.374 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.388, allocations: 368.1 kB / 1.374 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/1.388, allocations: 21.72 kB / 1.374 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.389, allocations: 123.4 kB / 1.374 GB, free: 8.453 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.39, allocations: 79.55 kB / 1.374 GB, free: 8.418 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/1.39, allocations: 38.8 kB / 1.374 GB, free: 8.414 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001546/1.391, allocations: 0.8003 MB / 1.375 GB, free: 8.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.34e-07/1.391, allocations: 0 / 1.375 GB, free: 8.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003097/1.394, allocations: 0.8516 MB / 1.376 GB, free: 8.055 MB / 0.698 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.001828/1.396, allocations: 0.575 MB / 1.376 GB, free: 7.824 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003785/1.4, allocations: 1.766 MB / 1.378 GB, free: 7.492 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.248e-06/1.4, allocations: 0 / 1.378 GB, free: 7.492 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.402, allocations: 0.5655 MB / 1.379 GB, free: 7.375 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/1.406, allocations: 0.81 MB / 1.379 GB, free: 6.719 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007789/1.414, allocations: 3.979 MB / 1.383 GB, free: 3.035 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.416, allocations: 1.397 MB / 1.385 GB, free: 1.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002784/1.419, allocations: 445.1 kB / 1.385 GB, free: 1.227 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/1.419, allocations: 110.7 kB / 1.385 GB, free: 1.121 MB / 0.698 GB Notification: Performance of SimCode: time 1.647e-06/1.419, allocations: 2.906 kB / 1.385 GB, free: 1.121 MB / 0.698 GB Notification: Performance of Templates: time 0.06947/1.489, allocations: 27.95 MB / 1.412 GB, free: 5.883 MB / 0.7292 GB