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.004477/0.004481, allocations: 236.2 kB / 15.8 MB, free: 6.285 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.001169/0.001169, allocations: 179 kB / 16.69 MB, free: 5.449 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.078/4.078, 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 4.327/4.327, allocations: 472.3 MB / 0.9024 GB, free: 18.75 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006655/0.0006657, allocations: 12.91 kB / 1.008 GB, free: 13.41 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2779, allocations: 98.72 MB / 1.105 GB, free: 10.74 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.006101/0.284, allocations: 3.42 MB / 1.108 GB, free: 7.301 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.00419/0.2883, allocations: 1.4 MB / 1.109 GB, free: 5.895 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008044/0.2892, allocations: 23.88 kB / 1.109 GB, free: 5.871 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.2894, allocations: 64.2 kB / 1.109 GB, free: 5.809 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009023/0.2903, allocations: 170.5 kB / 1.11 GB, free: 5.645 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.292, allocations: 420.9 kB / 1.11 GB, free: 5.234 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.2939, allocations: 0.9303 MB / 1.111 GB, free: 4.301 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007953/0.2947, allocations: 309.2 kB / 1.111 GB, free: 3.992 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005525/0.2953, allocations: 251.6 kB / 1.111 GB, free: 3.746 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.2958, allocations: 270.3 kB / 1.112 GB, free: 3.48 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.2959, allocations: 24.75 kB / 1.112 GB, free: 3.457 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.296, allocations: 24 kB / 1.112 GB, free: 3.434 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2962, allocations: 115.9 kB / 1.112 GB, free: 3.32 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.2964, allocations: 162.8 kB / 1.112 GB, free: 3.156 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.2977, allocations: 0.9236 MB / 1.113 GB, free: 2.23 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.2977, allocations: 0 / 1.113 GB, free: 2.23 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2977, allocations: 0 / 1.113 GB, free: 2.23 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.2978, allocations: 0.6562 kB / 1.113 GB, free: 2.23 MB / 0.573 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.003765/0.3015, allocations: 1.169 MB / 1.114 GB, free: 1.012 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.3016, allocations: 12.75 kB / 1.114 GB, free: 1 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.302, allocations: 94.78 kB / 1.114 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.3038, allocations: 0.6526 MB / 1.115 GB, free: 212 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.3039, allocations: 53.3 kB / 1.115 GB, free: 160 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.3041, allocations: 56 kB / 1.115 GB, free: 104 kB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.3066, allocations: 0.7461 MB / 1.116 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3067, allocations: 0 / 1.116 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.3068, allocations: 27.95 kB / 1.116 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.3068, allocations: 12 kB / 1.116 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.3098, allocations: 0.6413 MB / 1.116 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0051/0.3149, allocations: 2.49 MB / 1.119 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/0.3185, allocations: 0.7129 MB / 1.119 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.32, allocations: 324.9 kB / 1.12 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/0.3201, allocations: 4.375 kB / 1.12 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/0.3217, allocations: 369.1 kB / 1.12 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 3.888e-06/0.3217, allocations: 0 / 1.12 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.004214/0.3259, allocations: 0.8807 MB / 1.121 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.326, allocations: 59.78 kB / 1.121 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.3274, allocations: 0.657 MB / 1.122 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.3275, allocations: 37.7 kB / 1.122 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.3279, allocations: 364.7 kB / 1.122 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.3282, allocations: 157.7 kB / 1.122 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.3282, allocations: 8 kB / 1.122 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3284, allocations: 333.9 kB / 1.122 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.3297, allocations: 261 kB / 1.123 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.3311, allocations: 348.7 kB / 1.123 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.3325, allocations: 329.4 kB / 1.123 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.3326, allocations: 0 / 1.123 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0032/0.3358, allocations: 0.7856 MB / 1.124 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.336, allocations: 191.6 kB / 1.124 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.336, allocations: 3.984 kB / 1.124 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.336, allocations: 4 kB / 1.124 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3372, allocations: 139.8 kB / 1.124 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.3372, allocations: 4 kB / 1.124 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/0.3382, allocations: 103.3 kB / 1.125 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.3383, allocations: 23.98 kB / 1.125 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3384, allocations: 7.953 kB / 1.125 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002569/0.3409, allocations: 0.6483 MB / 1.125 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.341, allocations: 0 / 1.125 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.341, allocations: 4 kB / 1.125 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/0.342, allocations: 127.9 kB / 1.125 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.342, allocations: 4 kB / 1.125 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.3429, allocations: 95.39 kB / 1.125 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.343, allocations: 16 kB / 1.125 GB, free: 4.953 MB / 0.5886 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.0005813/0.3436, allocations: 294.1 kB / 1.126 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.3437, allocations: 79.02 kB / 1.126 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.3468, allocations: 0.668 MB / 1.126 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.3468, allocations: 3.984 kB / 1.126 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.3468, allocations: 4 kB / 1.126 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.3473, allocations: 204 kB / 1.127 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.3475, allocations: 11.94 kB / 1.127 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/0.3483, allocations: 63.94 kB / 1.127 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.3485, allocations: 44.36 kB / 1.127 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003753/0.3523, allocations: 0.7612 MB / 1.128 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004501/0.3568, allocations: 1.157 MB / 1.129 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001358/0.3582, allocations: 307.3 kB / 1.129 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009533/0.3592, allocations: 467 kB / 1.129 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of Backend: time 3.375e-05/0.3593, allocations: 4 kB / 1.129 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003664/0.3629, allocations: 0.9629 MB / 1.13 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of SimCode: time 0.004036/0.367, allocations: 1.892 MB / 1.132 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.0311/0.3982, allocations: 9.885 MB / 1.142 GB, free: 4.094 MB / 0.6042 GB