Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009193/0.009193, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001133/0.001133, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 1.935/1.935, allocations: 194.6 MB / 211.3 MB, free: 11.26 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.107/2.107, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008357/0.0008359, allocations: 8 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6893, allocations: 98.72 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.8847, allocations: 130.9 MB / 0.8112 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.885, allocations: 87.94 kB / 0.8113 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05423/0.9393, allocations: 14.82 MB / 0.8258 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.687e-06/0.9393, allocations: 0 / 0.8258 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.989e-05/0.9394, allocations: 20 kB / 0.8258 GB, free: 12.37 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002997/0.9424, allocations: 1.175 MB / 0.8269 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9425, allocations: 8.031 kB / 0.827 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/0.9429, allocations: 106.7 kB / 0.8271 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.9443, allocations: 0.5968 MB / 0.8276 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.9444, allocations: 41.31 kB / 0.8277 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.9445, allocations: 67.89 kB / 0.8277 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.9468, allocations: 0.8312 MB / 0.8286 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.9469, allocations: 3.938 kB / 0.8286 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.947, allocations: 24 kB / 0.8286 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.947, allocations: 15.95 kB / 0.8286 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.9495, allocations: 0.7311 MB / 0.8293 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005364/0.9549, allocations: 2.666 MB / 0.8319 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.9579, allocations: 0.88 MB / 0.8328 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.958, allocations: 8.375 kB / 0.8328 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.9594, allocations: 417.6 kB / 0.8332 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 4.441e-06/0.9594, allocations: 4 kB / 0.8332 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.003483/0.9629, allocations: 1.025 MB / 0.8342 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.9631, allocations: 214.1 kB / 0.8344 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.9643, allocations: 0.5977 MB / 0.835 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.9645, allocations: 37.7 kB / 0.835 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.9649, allocations: 353 kB / 0.8353 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.9651, allocations: 161.6 kB / 0.8355 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.9652, allocations: 12 kB / 0.8355 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.9654, allocations: 322 kB / 0.8358 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.9665, allocations: 308.9 kB / 0.8361 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.9677, allocations: 419.2 kB / 0.8365 GB, free: 1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.9689, allocations: 373.3 kB / 0.8369 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.827e-06/0.969, allocations: 7.938 kB / 0.8369 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002756/0.9717, allocations: 0.8519 MB / 0.8377 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.9721, allocations: 425.5 kB / 0.8381 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.9721, allocations: 0 / 0.8381 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.9721, allocations: 7.953 kB / 0.8381 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.973, allocations: 143.8 kB / 0.8383 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.973, allocations: 4 kB / 0.8383 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008652/0.9739, allocations: 135.4 kB / 0.8384 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.974, allocations: 19.98 kB / 0.8384 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.974, allocations: 7.938 kB / 0.8384 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002324/0.9763, allocations: 0.6482 MB / 0.8391 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9764, allocations: 0 / 0.8391 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.9764, allocations: 4 kB / 0.8391 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.9771, allocations: 116 kB / 0.8392 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.9771, allocations: 4 kB / 0.8392 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.9779, allocations: 107.4 kB / 0.8393 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.978, allocations: 12 kB / 0.8393 GB, free: 14.08 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * 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.0006362/0.9786, allocations: 305 kB / 0.8396 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.9788, allocations: 75.06 kB / 0.8396 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.9813, allocations: 0.7734 MB / 0.8404 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.9814, allocations: 4 kB / 0.8404 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.268e-06/0.9814, allocations: 0 / 0.8404 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.29e-06/0.9814, allocations: 0 / 0.8404 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.9827, allocations: 0.7433 MB / 0.8411 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.183e-06/0.9828, allocations: 4 kB / 0.8411 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008307/0.9836, allocations: 135.8 kB / 0.8413 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.9836, allocations: 3.984 kB / 0.8413 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.9837, allocations: 8 kB / 0.8413 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.566e-06/0.9837, allocations: 4 kB / 0.8413 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.9837, allocations: 0 / 0.8413 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/0.9874, allocations: 1.163 MB / 0.8424 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.9879, allocations: 220 kB / 0.8426 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.988, allocations: 12 kB / 0.8426 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/0.9887, allocations: 91.91 kB / 0.8427 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.9889, allocations: 40.38 kB / 0.8428 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.989, allocations: 19.98 kB / 0.8428 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009157/0.9899, allocations: 483 kB / 0.8432 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.52e-07/0.9899, allocations: 3.938 kB / 0.8432 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009616/0.9909, allocations: 239.3 kB / 0.8435 GB, free: 9.684 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (TRoo.count,m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002187/0.9911, allocations: 135.1 kB / 0.8436 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003434/0.9946, allocations: 1.216 MB / 0.8448 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.138e-06/0.9946, allocations: 0 / 0.8448 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.9958, allocations: 362.2 kB / 0.8451 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.9969, allocations: 189.7 kB / 0.8453 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/1, allocations: 1.444 MB / 0.8467 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/1.001, allocations: 0.9419 MB / 0.8476 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000687/1.001, allocations: 89.09 kB / 0.8477 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/1.002, allocations: 51.42 kB / 0.8478 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of SimCode: time 3.781e-06/1.002, allocations: 0 / 0.8478 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of Templates: time 0.02471/1.026, allocations: 8.804 MB / 0.8564 GB, free: 12.45 MB / 0.6823 GB