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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.407/4.407, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.476e-05, allocations: 5.047 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2328, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.179/7.412, allocations: 2.197 GB / 2.832 GB, free: 104.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/7.413, allocations: 88.09 kB / 2.832 GB, free: 104.2 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 5.348/12.76, allocations: 1.026 GB / 3.857 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.246e-06/12.76, allocations: 0 / 3.857 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002469/12.76, allocations: 51.92 kB / 3.857 GB, free: 30.12 MB / 0.8386 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.01022/12.77, allocations: 2.191 MB / 3.86 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/12.77, allocations: 8.031 kB / 3.86 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007178/12.77, allocations: 198.6 kB / 3.86 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005514/12.78, allocations: 0.5245 MB / 3.86 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/12.78, allocations: 1.241 MB / 3.862 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/12.78, allocations: 110.7 kB / 3.862 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/12.78, allocations: 147.8 kB / 3.862 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/12.79, allocations: 1.607 MB / 3.863 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/12.79, allocations: 3.938 kB / 3.863 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/12.79, allocations: 60 kB / 3.863 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.949e-05/12.79, allocations: 62.52 kB / 3.863 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/12.79, allocations: 1.342 MB / 3.865 GB, free: 22.43 MB / 0.8386 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.0142/12.81, allocations: 7.152 MB / 3.872 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/12.81, allocations: 1.143 MB / 3.873 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/12.81, allocations: 0.5854 MB / 3.873 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/12.81, allocations: 0.8672 MB / 3.874 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/12.81, allocations: 0.5792 MB / 3.875 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=109): time 6.763e-06/12.81, allocations: 4 kB / 3.875 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109): time 0.003461/12.82, allocations: 1.096 MB / 3.876 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/12.82, allocations: 90.11 kB / 3.876 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/12.82, allocations: 1.011 MB / 3.877 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000342/12.82, allocations: 57.64 kB / 3.877 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008077/12.82, allocations: 0.6696 MB / 3.878 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005501/12.82, allocations: 378.4 kB / 3.878 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/12.82, allocations: 24 kB / 3.878 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001027/12.82, allocations: 345.9 kB / 3.878 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/12.82, allocations: 406.2 kB / 3.879 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/12.82, allocations: 0.5799 MB / 3.879 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/12.82, allocations: 0.5091 MB / 3.88 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/12.82, allocations: 4 kB / 3.88 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003147/12.83, allocations: 1.224 MB / 3.881 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002555/12.83, allocations: 1.012 MB / 3.882 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/12.83, allocations: 4 kB / 3.882 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/12.83, allocations: 8 kB / 3.882 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/12.83, allocations: 219.7 kB / 3.882 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/12.83, allocations: 8 kB / 3.882 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/12.83, allocations: 182.8 kB / 3.882 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/12.83, allocations: 36 kB / 3.882 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/12.83, allocations: 11.88 kB / 3.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002685/12.83, allocations: 1.087 MB / 3.884 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/12.84, allocations: 4 kB / 3.884 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/12.84, allocations: 11.94 kB / 3.884 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/12.84, allocations: 211.7 kB / 3.884 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/12.84, allocations: 11.95 kB / 3.884 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/12.84, allocations: 171.2 kB / 3.884 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/12.84, allocations: 40 kB / 3.884 GB, free: 1.82 MB / 0.8386 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): 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.0004075/12.84, allocations: 171 kB / 3.884 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/12.84, allocations: 142.3 kB / 3.884 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/12.84, allocations: 1.196 MB / 3.885 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/12.84, allocations: 12 kB / 3.885 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/12.84, allocations: 3.953 kB / 3.885 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002474/12.85, allocations: 0.9561 MB / 3.886 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009303/12.86, allocations: 3.115 MB / 3.889 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/12.86, allocations: 4 kB / 3.889 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002404/12.86, allocations: 239.7 kB / 3.89 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-05/12.86, allocations: 12 kB / 3.89 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/12.86, allocations: 32.3 kB / 3.89 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/12.86, allocations: 8 kB / 3.89 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/12.86, allocations: 4 kB / 3.89 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/12.86, allocations: 2.044 MB / 3.892 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/12.87, allocations: 386.9 kB / 3.892 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/12.87, allocations: 31.92 kB / 3.892 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/12.87, allocations: 115.7 kB / 3.892 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/12.87, allocations: 68.92 kB / 3.892 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/12.87, allocations: 39.97 kB / 3.892 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00191/12.87, allocations: 0.7838 MB / 3.893 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.71e-07/12.87, allocations: 0 / 3.893 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004865/12.88, allocations: 1.123 MB / 3.894 GB, free: 7.098 MB / 0.8542 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 (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.01208/12.89, allocations: 6.015 MB / 3.9 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.6687/13.56, allocations: 1.78 MB / 3.902 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/13.56, allocations: 1 kB / 3.902 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/13.56, allocations: 0.5335 MB / 3.902 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007199/13.57, allocations: 0.787 MB / 3.903 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/13.58, allocations: 3.124 MB / 3.906 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/13.58, allocations: 1.397 MB / 3.908 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004703/13.58, allocations: 0.5797 MB / 3.908 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/13.58, allocations: 0.5878 MB / 3.909 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.363e-06/13.58, allocations: 0 / 3.909 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2026/13.79, allocations: 86.88 MB / 3.994 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/13.79, allocations: 208.7 kB / 3.994 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/20.98, allocations: 0 / 3.994 GB, free: 118.8 MB / 0.8542 GB