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.00424/0.004239, allocations: 233 kB / 15.82 MB, free: 6.297 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.001205/0.001205, allocations: 175.3 kB / 16.7 MB, free: 5.457 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 4.072/4.072, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.957/3.957, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005307, allocations: 8 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1825, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8467/1.029, allocations: 131 MB / 1.233 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/1.03, allocations: 88.12 kB / 1.233 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0565/1.086, allocations: 14.8 MB / 1.247 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/1.086, allocations: 0 / 1.247 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.064e-05/1.086, allocations: 20.75 kB / 1.247 GB, free: 12.72 MB / 0.6198 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.003398/1.09, allocations: 1.175 MB / 1.248 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.09, allocations: 8.031 kB / 1.248 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/1.09, allocations: 102 kB / 1.248 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.092, allocations: 0.5989 MB / 1.249 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/1.092, allocations: 46.44 kB / 1.249 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/1.092, allocations: 63.53 kB / 1.249 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/1.095, allocations: 0.8328 MB / 1.25 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/1.095, allocations: 3.938 kB / 1.25 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.095, allocations: 30.11 kB / 1.25 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/1.095, allocations: 19.95 kB / 1.25 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/1.098, allocations: 0.7228 MB / 1.251 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005884/1.104, allocations: 2.668 MB / 1.253 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/1.107, allocations: 0.8741 MB / 1.254 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/1.109, allocations: 336.4 kB / 1.254 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.101e-05/1.109, allocations: 8.375 kB / 1.254 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/1.111, allocations: 424.2 kB / 1.255 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.757e-06/1.111, allocations: 0 / 1.255 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.004319/1.115, allocations: 1.019 MB / 1.256 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/1.115, allocations: 214.1 kB / 1.256 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.116, allocations: 0.678 MB / 1.257 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/1.116, allocations: 44.27 kB / 1.257 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/1.117, allocations: 349.2 kB / 1.257 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/1.117, allocations: 163.8 kB / 1.257 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/1.117, allocations: 10.25 kB / 1.257 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.117, allocations: 324.9 kB / 1.257 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/1.119, allocations: 308.6 kB / 1.258 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/1.12, allocations: 421.7 kB / 1.258 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/1.122, allocations: 370.5 kB / 1.259 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.122, allocations: 7.672 kB / 1.259 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003201/1.125, allocations: 0.8565 MB / 1.259 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.125, allocations: 171.1 kB / 1.26 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.125, allocations: 0 / 1.26 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.125, allocations: 5.938 kB / 1.26 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.126, allocations: 150 kB / 1.26 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.126, allocations: 4 kB / 1.26 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.128, allocations: 132.4 kB / 1.26 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/1.128, allocations: 18.56 kB / 1.26 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.128, allocations: 7.938 kB / 1.26 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002241/1.13, allocations: 0.6475 MB / 1.26 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.13, allocations: 7.938 kB / 1.26 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/1.13, allocations: 4 kB / 1.261 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/1.131, allocations: 118.8 kB / 1.261 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.131, allocations: 3.938 kB / 1.261 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.132, allocations: 106 kB / 1.261 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/1.132, allocations: 15.88 kB / 1.261 GB, free: 17.38 MB / 0.6355 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.0006717/1.133, allocations: 293.4 kB / 1.261 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/1.133, allocations: 75.06 kB / 1.261 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/1.136, allocations: 0.7784 MB / 1.262 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/1.136, allocations: 4 kB / 1.262 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.136, allocations: 4 kB / 1.262 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.136, allocations: 3.984 kB / 1.262 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/1.137, allocations: 0.7304 MB / 1.263 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.137, allocations: 0 / 1.263 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.139, allocations: 141.5 kB / 1.263 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.139, allocations: 4 kB / 1.263 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/1.139, allocations: 6.375 kB / 1.263 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/1.139, allocations: 7.953 kB / 1.263 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.139, allocations: 0 / 1.263 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004563/1.143, allocations: 1.16 MB / 1.264 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/1.144, allocations: 219.8 kB / 1.264 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.144, allocations: 14.86 kB / 1.264 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.145, allocations: 87.02 kB / 1.264 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.145, allocations: 54.44 kB / 1.264 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/1.145, allocations: 15.31 kB / 1.264 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009713/1.146, allocations: 482.4 kB / 1.265 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.6e-07/1.146, allocations: 4.5 kB / 1.265 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001198/1.148, allocations: 241.1 kB / 1.265 GB, free: 14.03 MB / 0.6355 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.0002405/1.148, allocations: 129.6 kB / 1.265 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004484/1.152, allocations: 1.215 MB / 1.266 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.152, allocations: 0 / 1.266 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.154, allocations: 367 kB / 1.267 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.156, allocations: 194.5 kB / 1.267 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/1.16, allocations: 1.449 MB / 1.268 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/1.161, allocations: 0.9388 MB / 1.269 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008522/1.161, allocations: 94.39 kB / 1.269 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/1.162, allocations: 54.61 kB / 1.269 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/1.162, allocations: 3.938 kB / 1.269 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.02737/1.189, allocations: 8.811 MB / 1.278 GB, free: 1.723 MB / 0.6355 GB