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.01171/0.01171, allocations: 108.3 kB / 15.06 MB, free: 5.562 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.001718/0.001718, allocations: 182.5 kB / 15.95 MB, free: 5.523 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.884/1.884, allocations: 194.6 MB / 211.3 MB, free: 10.96 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.133/2.133, allocations: 236.2 MB / 492.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004765, allocations: 8 kB / 0.5869 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6166, allocations: 98.72 MB / 0.6833 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003972/0.6207, allocations: 3.424 MB / 0.6867 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.6237, allocations: 1.407 MB / 0.6881 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006274/0.6244, allocations: 23.25 kB / 0.6881 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.6245, allocations: 62.81 kB / 0.6881 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008167/0.6254, allocations: 197.4 kB / 0.6883 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.6267, allocations: 423.4 kB / 0.6887 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.6279, allocations: 0.6193 MB / 0.6893 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005673/0.6285, allocations: 306.5 kB / 0.6896 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.6289, allocations: 252 kB / 0.6899 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.6293, allocations: 280.6 kB / 0.6901 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-05/0.6294, allocations: 23.5 kB / 0.6902 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.6295, allocations: 22.66 kB / 0.6902 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.6296, allocations: 111.4 kB / 0.6903 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.6297, allocations: 153.7 kB / 0.6904 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.6309, allocations: 0.9282 MB / 0.6913 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.653e-06/0.6309, allocations: 4 kB / 0.6913 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.979e-06/0.631, allocations: 1.062 kB / 0.6913 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.631, allocations: 0 / 0.6913 GB, free: 11.51 MB / 0.5261 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.002582/0.6336, allocations: 1.161 MB / 0.6925 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6336, allocations: 9.688 kB / 0.6925 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.634, allocations: 98.77 kB / 0.6926 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.6364, allocations: 0.6547 MB / 0.6932 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.352e-05/0.6365, allocations: 49.47 kB / 0.6933 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.6367, allocations: 57.06 kB / 0.6933 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.6402, allocations: 0.7476 MB / 0.694 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.6403, allocations: 1.312 kB / 0.694 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.6404, allocations: 27.11 kB / 0.6941 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.6405, allocations: 13.31 kB / 0.6941 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/0.6445, allocations: 0.6338 MB / 0.6947 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006701/0.6513, allocations: 2.494 MB / 0.6971 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/0.6557, allocations: 0.7338 MB / 0.6979 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.072e-05/0.6558, allocations: 10.17 kB / 0.6979 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/0.6577, allocations: 366.7 kB / 0.6982 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 7.558e-06/0.6578, allocations: 0 / 0.6982 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.005186/0.663, allocations: 0.8788 MB / 0.6991 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.6631, allocations: 57.41 kB / 0.6991 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.6648, allocations: 0.6611 MB / 0.6998 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.665, allocations: 37.39 kB / 0.6998 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/0.6654, allocations: 363.3 kB / 0.7002 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.6657, allocations: 156.4 kB / 0.7003 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.6658, allocations: 15.34 kB / 0.7003 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.6659, allocations: 322.6 kB / 0.7006 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.6674, allocations: 263 kB / 0.7009 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.6689, allocations: 338.1 kB / 0.7012 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.6705, allocations: 334 kB / 0.7015 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.488e-06/0.6705, allocations: 1.281 kB / 0.7015 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003948/0.6745, allocations: 0.7839 MB / 0.7023 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002509/0.6748, allocations: 0.6699 MB / 0.7029 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.6748, allocations: 2.469 kB / 0.7029 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.6749, allocations: 4.344 kB / 0.7029 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.6763, allocations: 141.6 kB / 0.7031 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.6763, allocations: 3.688 kB / 0.7031 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.6776, allocations: 103.9 kB / 0.7032 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6777, allocations: 25.77 kB / 0.7032 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6777, allocations: 4.375 kB / 0.7032 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00316/0.6809, allocations: 0.646 MB / 0.7038 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6809, allocations: 5.922 kB / 0.7039 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.681, allocations: 4.219 kB / 0.7039 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.6821, allocations: 122.3 kB / 0.704 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.6822, allocations: 15.39 kB / 0.704 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.6832, allocations: 94.2 kB / 0.7041 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/0.6833, allocations: 16.25 kB / 0.7041 GB, free: 3.375 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (60): * Single equations (assignments): 58 * 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.000735/0.6841, allocations: 296.4 kB / 0.7044 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.6843, allocations: 73.84 kB / 0.7044 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/0.6899, allocations: 0.6679 MB / 0.7051 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/0.69, allocations: 8.984 kB / 0.7051 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.6901, allocations: 0 / 0.7051 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.6901, allocations: 5.453 kB / 0.7051 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.6924, allocations: 0.6838 MB / 0.7058 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.6925, allocations: 0 / 0.7058 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.6936, allocations: 119.2 kB / 0.7059 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.6936, allocations: 6.172 kB / 0.7059 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.6937, allocations: 19.42 kB / 0.7059 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.278e-06/0.6937, allocations: 2.125 kB / 0.7059 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.859e-06/0.6937, allocations: 3.953 kB / 0.7059 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.697, allocations: 1.001 MB / 0.7069 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.6974, allocations: 200.2 kB / 0.7071 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.6975, allocations: 11.83 kB / 0.7071 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.6981, allocations: 68.09 kB / 0.7072 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6983, allocations: 44.09 kB / 0.7072 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.6983, allocations: 20.34 kB / 0.7072 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008128/0.6992, allocations: 470.9 kB / 0.7077 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.79e-07/0.6992, allocations: 0 / 0.7077 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008969/0.7001, allocations: 226.4 kB / 0.7079 GB, free: 0.9961 MB / 0.5261 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.0001494/0.7002, allocations: 117.4 kB / 0.708 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00306/0.7033, allocations: 1.124 MB / 0.7091 GB, free: 260 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.7033, allocations: 0 / 0.7091 GB, free: 260 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.7044, allocations: 305.6 kB / 0.7094 GB, free: 136 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.7054, allocations: 177.4 kB / 0.7096 GB, free: 44 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.7088, allocations: 1.411 MB / 0.7109 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.7096, allocations: 0.9428 MB / 0.7119 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007016/0.7103, allocations: 92.77 kB / 0.712 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.7105, allocations: 50.36 kB / 0.712 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of SimCode: time 1.98e-06/0.7106, allocations: 0 / 0.712 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of Templates: time 0.02571/0.7363, allocations: 7.481 MB / 0.7193 GB, free: 8.762 MB / 0.5417 GB