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: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",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.01123/0.01123, allocations: 108.6 kB / 15.05 MB, free: 5.988 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.001274/0.001274, allocations: 181.7 kB / 15.94 MB, free: 5.941 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.018/2.018, allocations: 194.6 MB / 211.3 MB, free: 11.16 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.304/2.304, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004962, allocations: 12 kB / 0.587 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6744, allocations: 98.73 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2802/0.9546, allocations: 131 MB / 0.8113 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.955, allocations: 87.94 kB / 0.8114 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06162/1.017, allocations: 14.82 MB / 0.8259 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.344e-06/1.017, allocations: 4 kB / 0.8259 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001307/1.017, allocations: 20 kB / 0.8259 GB, free: 12.25 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.003796/1.021, allocations: 1.168 MB / 0.827 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/1.021, allocations: 16.03 kB / 0.827 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003608/1.021, allocations: 110.4 kB / 0.8272 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/1.021, allocations: 94.78 kB / 0.8272 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.023, allocations: 0.5968 MB / 0.8278 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/1.023, allocations: 45.31 kB / 0.8279 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.023, allocations: 63.91 kB / 0.8279 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/1.026, allocations: 0.8273 MB / 0.8287 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/1.026, allocations: 7.938 kB / 0.8287 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.026, allocations: 24 kB / 0.8288 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/1.026, allocations: 19.95 kB / 0.8288 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/1.029, allocations: 0.7233 MB / 0.8295 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005848/1.035, allocations: 2.682 MB / 0.8321 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/1.039, allocations: 0.8703 MB / 0.833 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.144e-05/1.04, allocations: 8.359 kB / 0.833 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/1.041, allocations: 417.7 kB / 0.8334 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 5.761e-06/1.041, allocations: 4 kB / 0.8334 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.004839/1.046, allocations: 1.017 MB / 0.8344 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.047, allocations: 222 kB / 0.8346 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/1.048, allocations: 0.5899 MB / 0.8352 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/1.048, allocations: 41.69 kB / 0.8352 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/1.048, allocations: 357 kB / 0.8355 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/1.049, allocations: 173 kB / 0.8357 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/1.049, allocations: 4 kB / 0.8357 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.049, allocations: 322 kB / 0.836 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/1.051, allocations: 308.9 kB / 0.8363 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/1.052, allocations: 423.2 kB / 0.8367 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/1.054, allocations: 373.3 kB / 0.8371 GB, free: 404 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.054, allocations: 0 / 0.8371 GB, free: 404 kB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003663/1.058, allocations: 0.8598 MB / 0.8379 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/1.058, allocations: 417.5 kB / 0.8383 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.058, allocations: 7.938 kB / 0.8383 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.058, allocations: 4 kB / 0.8383 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.059, allocations: 147.8 kB / 0.8385 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.059, allocations: 4 kB / 0.8385 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.06, allocations: 135.3 kB / 0.8386 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/1.061, allocations: 19.98 kB / 0.8386 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.061, allocations: 4 kB / 0.8386 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002628/1.063, allocations: 0.6482 MB / 0.8392 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.063, allocations: 4 kB / 0.8392 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/1.063, allocations: 0 / 0.8392 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.064, allocations: 120 kB / 0.8394 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.064, allocations: 4 kB / 0.8394 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.065, allocations: 103.4 kB / 0.8395 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/1.066, allocations: 16 kB / 0.8395 GB, free: 13.84 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.0006573/1.066, allocations: 297 kB / 0.8398 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/1.066, allocations: 79.05 kB / 0.8398 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/1.07, allocations: 0.7695 MB / 0.8406 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.07, allocations: 8 kB / 0.8406 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/1.07, allocations: 0 / 0.8406 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.07, allocations: 3.984 kB / 0.8406 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/1.071, allocations: 0.7432 MB / 0.8413 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.071, allocations: 0 / 0.8413 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.073, allocations: 131.8 kB / 0.8415 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/1.073, allocations: 8 kB / 0.8415 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/1.073, allocations: 11.98 kB / 0.8415 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/1.073, allocations: 80 / 0.8415 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.073, allocations: 3.984 kB / 0.8415 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004994/1.078, allocations: 1.159 MB / 0.8426 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/1.079, allocations: 224 kB / 0.8428 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/1.079, allocations: 12 kB / 0.8428 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.08, allocations: 91.86 kB / 0.8429 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.08, allocations: 48.36 kB / 0.843 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/1.08, allocations: 19.92 kB / 0.843 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001005/1.081, allocations: 487 kB / 0.8435 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.081, allocations: 0 / 0.8435 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001074/1.082, allocations: 243.3 kB / 0.8437 GB, free: 9.438 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.00555/1.088, allocations: 1.727 MB / 0.8454 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004762/1.093, allocations: 1.212 MB / 0.8466 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.093, allocations: 0 / 0.8466 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.094, allocations: 362.3 kB / 0.8469 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.096, allocations: 184 kB / 0.8471 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.11, allocations: 5.06 MB / 0.852 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/1.111, allocations: 0.9458 MB / 0.8529 GB, free: 15.72 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0008442/1.112, allocations: 85.02 kB / 0.853 GB, free: 15.64 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007881/1.113, allocations: 283.3 kB / 0.8533 GB, free: 15.36 MB / 0.6824 GB Notification: Performance of SimCode: time 1.483e-06/1.113, allocations: 3.938 kB / 0.8533 GB, free: 15.36 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05448/1.167, allocations: 15.53 MB / 0.8685 GB, free: 64 kB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/1.168, allocations: 192.9 kB / 0.8686 GB, free: 15.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.271, allocations: 4.062 kB / 0.8686 GB, free: 15.82 MB / 0.698 GB