Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.13/4.13, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.156e-05, allocations: 4 kB / 0.5325 GB, free: 1.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.504, allocations: 98.72 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.7228, allocations: 130.2 MB / 0.7561 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.7231, allocations: 83.95 kB / 0.7561 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05309/0.7762, allocations: 14.68 MB / 0.7705 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.073e-06/0.7762, allocations: 0 / 0.7705 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.285e-05/0.7763, allocations: 20 kB / 0.7705 GB, free: 14.55 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.00233/0.7787, allocations: 1.055 MB / 0.7715 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7787, allocations: 12.03 kB / 0.7715 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.779, allocations: 90.88 kB / 0.7716 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.7803, allocations: 0.5968 MB / 0.7722 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.7804, allocations: 20 kB / 0.7722 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.7805, allocations: 39.98 kB / 0.7723 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001218/0.7817, allocations: 434.5 kB / 0.7727 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.7832, allocations: 0.614 MB / 0.7733 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.7832, allocations: 0 / 0.7733 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.7833, allocations: 7.953 kB / 0.7733 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.7833, allocations: 15.98 kB / 0.7733 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004839/0.7882, allocations: 2.524 MB / 0.7758 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.7897, allocations: 0.556 MB / 0.7763 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.7902, allocations: 193.6 kB / 0.7765 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.7903, allocations: 12.3 kB / 0.7765 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006453/0.7909, allocations: 268.5 kB / 0.7768 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 4.067e-06/0.791, allocations: 0 / 0.7768 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001198/0.7922, allocations: 443.3 kB / 0.7772 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.7923, allocations: 226 kB / 0.7774 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.7932, allocations: 471.6 kB / 0.7779 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/0.7933, allocations: 29.7 kB / 0.7779 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.7937, allocations: 364.4 kB / 0.7782 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.7939, allocations: 153.8 kB / 0.7784 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.794, allocations: 0 / 0.7784 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002367/0.7942, allocations: 374.8 kB / 0.7787 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.7947, allocations: 161.1 kB / 0.7789 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.7952, allocations: 278.3 kB / 0.7791 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.7957, allocations: 173 kB / 0.7793 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.095e-06/0.7957, allocations: 4 kB / 0.7793 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001421/0.7971, allocations: 0.5014 MB / 0.7798 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.7974, allocations: 417.4 kB / 0.7802 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.641e-06/0.7975, allocations: 0 / 0.7802 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.7975, allocations: 11.95 kB / 0.7802 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.7983, allocations: 143.8 kB / 0.7804 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7984, allocations: 4 kB / 0.7804 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/0.7992, allocations: 111.5 kB / 0.7805 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.7993, allocations: 16 kB / 0.7805 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7993, allocations: 5.406 kB / 0.7805 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/0.8004, allocations: 396.7 kB / 0.7809 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.002e-06/0.8004, allocations: 7.938 kB / 0.7809 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.163e-06/0.8004, allocations: 0 / 0.7809 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.8011, allocations: 123.8 kB / 0.781 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.481e-06/0.8011, allocations: 4 kB / 0.781 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/0.8018, allocations: 79.66 kB / 0.7811 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.8019, allocations: 16 kB / 0.7811 GB, free: 3.289 MB / 0.6511 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 () * 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.0002468/0.8022, allocations: 132.1 kB / 0.7812 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.8024, allocations: 63.16 kB / 0.7813 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.8036, allocations: 475 kB / 0.7817 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-06/0.8036, allocations: 4 kB / 0.7817 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.473e-06/0.8037, allocations: 0 / 0.7817 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.8037, allocations: 3.984 kB / 0.7817 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.8048, allocations: 0.6502 MB / 0.7824 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.044e-06/0.8049, allocations: 7.891 kB / 0.7824 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/0.8057, allocations: 139.8 kB / 0.7825 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.021e-06/0.8057, allocations: 0 / 0.7825 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.8058, allocations: 8 kB / 0.7825 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.267e-06/0.8058, allocations: 4 kB / 0.7825 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8058, allocations: 0 / 0.7825 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.8076, allocations: 0.7143 MB / 0.7832 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.808, allocations: 220 kB / 0.7834 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.8081, allocations: 0 / 0.7834 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/0.8088, allocations: 83.92 kB / 0.7835 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.809, allocations: 48.36 kB / 0.7836 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.8091, allocations: 19.98 kB / 0.7836 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000641/0.8097, allocations: 363.2 kB / 0.7839 GB, free: 308 kB / 0.6511 GB Notification: Performance of sort global known variables: time 8.8e-07/0.8098, allocations: 0 / 0.7839 GB, free: 308 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009315/0.8107, allocations: 238.8 kB / 0.7841 GB, free: 68 kB / 0.6511 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) * 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.0002385/0.8109, allocations: 123.2 kB / 0.7843 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.8127, allocations: 0.8542 MB / 0.7851 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.447e-06/0.8128, allocations: 384 / 0.7851 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.8133, allocations: 217.6 kB / 0.7853 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.8143, allocations: 179.5 kB / 0.7855 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.8165, allocations: 0.8437 MB / 0.7863 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.8173, allocations: 0.9465 MB / 0.7872 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008779/0.8182, allocations: 110.9 kB / 0.7873 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.8184, allocations: 43.42 kB / 0.7874 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of SimCode: time 1.797e-06/0.8184, allocations: 4 kB / 0.7874 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of Templates: time 0.02346/0.8419, allocations: 8.785 MB / 0.796 GB, free: 3.938 MB / 0.6667 GB