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.01758/0.01758, allocations: 221.5 kB / 15.17 MB, free: 5.93 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.001795/0.001795, allocations: 178.7 kB / 16.06 MB, free: 5.828 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 3.745/3.745, allocations: 389.1 MB / 405.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.256/4.256, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004971, allocations: 12 kB / 1.008 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4992/0.4998, allocations: 98.71 MB / 1.104 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003787/0.5036, allocations: 3.433 MB / 1.107 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.5065, allocations: 1.387 MB / 1.109 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.5073, allocations: 28.56 kB / 1.109 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.5074, allocations: 59.25 kB / 1.109 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007748/0.5082, allocations: 167.2 kB / 1.109 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.5095, allocations: 427.9 kB / 1.109 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.5108, allocations: 0.928 MB / 1.11 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005071/0.5113, allocations: 312.8 kB / 1.111 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.5117, allocations: 246.5 kB / 1.111 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.512, allocations: 283.7 kB / 1.111 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-05/0.5121, allocations: 24 kB / 1.111 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.5122, allocations: 21.06 kB / 1.111 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.5123, allocations: 107.4 kB / 1.111 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.5124, allocations: 161.2 kB / 1.111 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008369/0.5133, allocations: 0.9219 MB / 1.112 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.884e-06/0.5133, allocations: 3.938 kB / 1.112 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.133e-06/0.5133, allocations: 0 / 1.112 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.5133, allocations: 0.625 kB / 1.112 GB, free: 2.223 MB / 0.5105 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.002325/0.5157, allocations: 1.169 MB / 1.113 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5157, allocations: 8.031 kB / 1.113 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.5159, allocations: 102.8 kB / 1.114 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.5172, allocations: 0.6487 MB / 1.114 GB, free: 200 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/0.5172, allocations: 45.31 kB / 1.114 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5174, allocations: 60 kB / 1.114 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.5194, allocations: 0.7423 MB / 1.115 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.5194, allocations: 4 kB / 1.115 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.5195, allocations: 27.98 kB / 1.115 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.5196, allocations: 20 kB / 1.115 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.5218, allocations: 0.6296 MB / 1.116 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004708/0.5265, allocations: 2.494 MB / 1.118 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.5291, allocations: 0.709 MB / 1.119 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.5303, allocations: 331.3 kB / 1.119 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.563e-05/0.5304, allocations: 12.36 kB / 1.119 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.5316, allocations: 365.2 kB / 1.119 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 4.8e-06/0.5316, allocations: 0 / 1.119 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.003092/0.5347, allocations: 0.8729 MB / 1.12 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.5348, allocations: 63.78 kB / 1.12 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.536, allocations: 0.6608 MB / 1.121 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5361, allocations: 41.64 kB / 1.121 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.5366, allocations: 360.8 kB / 1.121 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.5368, allocations: 153.8 kB / 1.122 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.5368, allocations: 15.94 kB / 1.122 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.537, allocations: 330 kB / 1.122 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.538, allocations: 257 kB / 1.122 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.5391, allocations: 340.8 kB / 1.122 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.5401, allocations: 333.4 kB / 1.123 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.04e-06/0.5402, allocations: 0 / 1.123 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002436/0.5426, allocations: 0.7856 MB / 1.124 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.5428, allocations: 191.6 kB / 1.124 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.5429, allocations: 4 kB / 1.124 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.5429, allocations: 4 kB / 1.124 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/0.5437, allocations: 135.8 kB / 1.124 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.5437, allocations: 4 kB / 1.124 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/0.5444, allocations: 115.3 kB / 1.124 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.5445, allocations: 16 kB / 1.124 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5445, allocations: 4 kB / 1.124 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001952/0.5465, allocations: 0.6483 MB / 1.125 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.551e-06/0.5466, allocations: 0 / 1.125 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5466, allocations: 4 kB / 1.125 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.5472, allocations: 135.8 kB / 1.125 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5473, allocations: 4 kB / 1.125 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.5479, allocations: 95.38 kB / 1.125 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.548, allocations: 16 kB / 1.125 GB, free: 4.938 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.0005334/0.5485, allocations: 293 kB / 1.125 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.5487, allocations: 75.06 kB / 1.125 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.551, allocations: 0.668 MB / 1.126 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5511, allocations: 7.953 kB / 1.126 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.431e-06/0.5511, allocations: 0 / 1.126 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.5511, allocations: 11.98 kB / 1.126 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.5523, allocations: 0.6847 MB / 1.127 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.5523, allocations: 3.984 kB / 1.127 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.5531, allocations: 115.9 kB / 1.127 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.5531, allocations: 8 kB / 1.127 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.5532, allocations: 7.984 kB / 1.127 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.935e-06/0.5532, allocations: 4 kB / 1.127 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.39e-06/0.5532, allocations: 3.953 kB / 1.127 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.5564, allocations: 0.995 MB / 1.128 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.5569, allocations: 208 kB / 1.128 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.557, allocations: 8 kB / 1.128 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/0.5575, allocations: 63.94 kB / 1.128 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.5577, allocations: 48.3 kB / 1.128 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.5578, allocations: 19.95 kB / 1.128 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008374/0.5586, allocations: 467 kB / 1.128 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.32e-07/0.5587, allocations: 4 kB / 1.128 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009003/0.5596, allocations: 227.2 kB / 1.129 GB, free: 0.9414 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.0001931/0.5598, allocations: 123.1 kB / 1.129 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.5631, allocations: 1.119 MB / 1.13 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.158e-06/0.5631, allocations: 0 / 1.13 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5642, allocations: 314.5 kB / 1.13 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.5653, allocations: 189.3 kB / 1.13 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.5685, allocations: 1.405 MB / 1.132 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.5693, allocations: 0.9497 MB / 1.133 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006449/0.5699, allocations: 93.25 kB / 1.133 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.5702, allocations: 51.42 kB / 1.133 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of SimCode: time 1.484e-06/0.5702, allocations: 0 / 1.133 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of Templates: time 0.02228/0.5925, allocations: 7.506 MB / 1.14 GB, free: 5.172 MB / 0.5417 GB