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: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01141/0.01141, allocations: 109.8 kB / 15.06 MB, free: 5.555 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.001214/0.001214, allocations: 178.1 kB / 15.95 MB, free: 5.52 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 2.237/2.237, allocations: 194.6 MB / 211.3 MB, free: 11.18 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.467/2.467, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004786, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.757, allocations: 98.72 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005444/0.7625, allocations: 3.42 MB / 0.6868 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004093/0.7667, allocations: 1.408 MB / 0.6881 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.7678, allocations: 22.75 kB / 0.6882 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.7681, allocations: 58.27 kB / 0.6882 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.7693, allocations: 197.9 kB / 0.6884 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.7713, allocations: 422.1 kB / 0.6888 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001991/0.7733, allocations: 0.6092 MB / 0.6894 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008294/0.7741, allocations: 309.6 kB / 0.6897 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.7748, allocations: 251.7 kB / 0.6899 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.7752, allocations: 280.5 kB / 0.6902 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.7754, allocations: 27.78 kB / 0.6902 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.7755, allocations: 26.81 kB / 0.6903 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.7756, allocations: 111.8 kB / 0.6904 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.7758, allocations: 161.1 kB / 0.6905 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.7775, allocations: 0.9213 MB / 0.6914 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7776, allocations: 4 kB / 0.6914 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.474e-06/0.7776, allocations: 0 / 0.6914 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.695e-05/0.7776, allocations: 1.219 kB / 0.6914 GB, free: 11.64 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.003888/0.7815, allocations: 1.165 MB / 0.6926 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.7816, allocations: 12.34 kB / 0.6926 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003314/0.782, allocations: 99.91 kB / 0.6927 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.7823, allocations: 103.1 kB / 0.6928 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.7841, allocations: 0.6429 MB / 0.6934 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.7842, allocations: 41.81 kB / 0.6934 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.7843, allocations: 65.48 kB / 0.6935 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.7872, allocations: 0.747 MB / 0.6942 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.7873, allocations: 4.641 kB / 0.6942 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.7874, allocations: 26.94 kB / 0.6943 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.7874, allocations: 14.5 kB / 0.6943 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.7907, allocations: 0.6389 MB / 0.6949 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.7957, allocations: 2.486 MB / 0.6973 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/0.7992, allocations: 0.7336 MB / 0.698 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.978e-05/0.7993, allocations: 6.219 kB / 0.6981 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001487/0.8008, allocations: 366.3 kB / 0.6984 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.606e-06/0.8009, allocations: 1.375 kB / 0.6984 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.004058/0.8049, allocations: 0.8779 MB / 0.6993 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.805, allocations: 56.88 kB / 0.6993 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.8063, allocations: 0.6609 MB / 0.7 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-05/0.8064, allocations: 37.83 kB / 0.7 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.8068, allocations: 363.4 kB / 0.7003 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.8069, allocations: 156.5 kB / 0.7005 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.807, allocations: 10.69 kB / 0.7005 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.8071, allocations: 330.3 kB / 0.7008 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.8084, allocations: 260 kB / 0.7011 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.8097, allocations: 337.9 kB / 0.7014 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.811, allocations: 337.5 kB / 0.7017 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.8111, allocations: 1.125 kB / 0.7017 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003216/0.8143, allocations: 0.7838 MB / 0.7025 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.8145, allocations: 0.6703 MB / 0.7031 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.8146, allocations: 3.938 kB / 0.7031 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.8146, allocations: 4.438 kB / 0.7031 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.8158, allocations: 141.3 kB / 0.7033 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.8158, allocations: 7.234 kB / 0.7033 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.8169, allocations: 104.9 kB / 0.7034 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.817, allocations: 17.84 kB / 0.7034 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.817, allocations: 3.188 kB / 0.7034 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002409/0.8194, allocations: 0.6552 MB / 0.704 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8194, allocations: 1.719 kB / 0.704 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8195, allocations: 7.766 kB / 0.7041 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009251/0.8204, allocations: 118.8 kB / 0.7042 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.8204, allocations: 11.19 kB / 0.7042 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/0.8213, allocations: 93.62 kB / 0.7043 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/0.8214, allocations: 17.59 kB / 0.7043 GB, free: 3.43 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.0005996/0.822, allocations: 295.2 kB / 0.7046 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.8222, allocations: 73.62 kB / 0.7046 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.8251, allocations: 0.6761 MB / 0.7053 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.8251, allocations: 9.109 kB / 0.7053 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8251, allocations: 0 / 0.7053 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.8251, allocations: 5.047 kB / 0.7053 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.8263, allocations: 0.6844 MB / 0.706 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.8263, allocations: 0 / 0.706 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.8274, allocations: 123.4 kB / 0.7061 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.8275, allocations: 2.469 kB / 0.7061 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.8275, allocations: 10.16 kB / 0.7061 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.8275, allocations: 2.281 kB / 0.7061 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8276, allocations: 5.016 kB / 0.7061 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/0.8318, allocations: 1.001 MB / 0.7071 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/0.8323, allocations: 203.2 kB / 0.7073 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.8324, allocations: 11.78 kB / 0.7073 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/0.8332, allocations: 64.22 kB / 0.7074 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.8335, allocations: 51.94 kB / 0.7074 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.8335, allocations: 13.11 kB / 0.7074 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000938/0.8345, allocations: 465.9 kB / 0.7079 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8345, allocations: 0 / 0.7079 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001004/0.8355, allocations: 226.2 kB / 0.7081 GB, free: 1.055 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.004428/0.8399, allocations: 1.562 MB / 0.7096 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00449/0.8445, allocations: 1.123 MB / 0.7107 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8445, allocations: 1.375 kB / 0.7107 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.846, allocations: 309.3 kB / 0.711 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.8475, allocations: 176.4 kB / 0.7112 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.8628, allocations: 5.276 MB / 0.7163 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.8635, allocations: 0.9403 MB / 0.7172 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007739/0.8643, allocations: 96.06 kB / 0.7173 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006545/0.8649, allocations: 278.5 kB / 0.7176 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of SimCode: time 1.423e-06/0.8649, allocations: 0 / 0.7176 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07046/0.9354, allocations: 14.23 MB / 0.7315 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003595/0.9359, allocations: 204.6 kB / 0.7317 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/4.152, allocations: 4 kB / 0.7317 GB, free: 12.32 MB / 0.5573 GB