Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0104/0.0104, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001186/0.001186, allocations: 173.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.337/2.337, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.43/2.43, allocations: 252.8 MB / 0.511 GB, free: 8.305 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006503/0.0006507, allocations: 11.47 kB / 0.6243 GB, free: 21.22 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.246, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.006927/0.253, allocations: 3.636 MB / 0.7316 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00395/0.257, allocations: 1.358 MB / 0.7329 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008113/0.2579, allocations: 19.94 kB / 0.733 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.2581, allocations: 79.08 kB / 0.733 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009527/0.2591, allocations: 159.4 kB / 0.7332 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.26, allocations: 255.6 kB / 0.7334 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.2614, allocations: 0.6083 MB / 0.734 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.2621, allocations: 370.9 kB / 0.7344 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.2625, allocations: 230.7 kB / 0.7346 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.263, allocations: 274.3 kB / 0.7349 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.2631, allocations: 28 kB / 0.7349 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.055e-05/0.2632, allocations: 27.94 kB / 0.7349 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2634, allocations: 111.4 kB / 0.735 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.2636, allocations: 169.2 kB / 0.7352 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.265, allocations: 1.021 MB / 0.7362 GB, free: 15.74 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.265, allocations: 4 kB / 0.7362 GB, free: 15.74 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2651, allocations: 0 / 0.7362 GB, free: 15.74 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.2651, allocations: 0 / 0.7362 GB, free: 15.74 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003764/0.2689, allocations: 1.188 MB / 0.7373 GB, free: 14.49 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/0.269, allocations: 12.03 kB / 0.7373 GB, free: 14.48 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002388/0.2692, allocations: 118.5 kB / 0.7375 GB, free: 14.35 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.2695, allocations: 106.7 kB / 0.7376 GB, free: 14.25 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.2707, allocations: 0.5668 MB / 0.7381 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.2708, allocations: 54 kB / 0.7382 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.271, allocations: 79.98 kB / 0.7382 GB, free: 13.51 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.2739, allocations: 0.8747 MB / 0.7391 GB, free: 12.59 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.274, allocations: 3.938 kB / 0.7391 GB, free: 12.59 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.2741, allocations: 28 kB / 0.7391 GB, free: 12.56 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.2742, allocations: 16 kB / 0.7391 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.2778, allocations: 0.7845 MB / 0.7399 GB, free: 11.77 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007103/0.285, allocations: 3.072 MB / 0.7429 GB, free: 8.582 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.2889, allocations: 0.848 MB / 0.7437 GB, free: 7.723 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.289, allocations: 12.42 kB / 0.7437 GB, free: 7.711 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.2908, allocations: 401.2 kB / 0.7441 GB, free: 7.305 MB / 0.573 GB Notification: Performance of pre-optimization done (n=51): time 3.607e-06/0.2908, allocations: 0 / 0.7441 GB, free: 7.305 MB / 0.573 GB Notification: Performance of matching and sorting (n=51): time 0.004567/0.2954, allocations: 0.9822 MB / 0.7451 GB, free: 6.316 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.2955, allocations: 137 kB / 0.7452 GB, free: 6.152 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.2969, allocations: 0.6527 MB / 0.7459 GB, free: 5.492 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.2971, allocations: 37.7 kB / 0.7459 GB, free: 5.449 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.2976, allocations: 393.2 kB / 0.7463 GB, free: 5.059 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.2978, allocations: 169.5 kB / 0.7464 GB, free: 4.891 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.2979, allocations: 12 kB / 0.7464 GB, free: 4.879 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.2982, allocations: 390.6 kB / 0.7468 GB, free: 4.488 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.2998, allocations: 309 kB / 0.7471 GB, free: 4.188 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.3014, allocations: 442.5 kB / 0.7475 GB, free: 3.711 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.303, allocations: 385.5 kB / 0.7479 GB, free: 3.324 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.303, allocations: 8.094 kB / 0.7479 GB, free: 3.316 MB / 0.573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00359/0.3066, allocations: 0.8956 MB / 0.7488 GB, free: 2.402 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.307, allocations: 0.6686 MB / 0.7494 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3071, allocations: 4 kB / 0.7494 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.3071, allocations: 8 kB / 0.7494 GB, free: 1.664 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.3084, allocations: 163.8 kB / 0.7496 GB, free: 1.504 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.3084, allocations: 4 kB / 0.7496 GB, free: 1.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3096, allocations: 151.2 kB / 0.7497 GB, free: 1.352 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.3097, allocations: 23.98 kB / 0.7498 GB, free: 1.328 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3097, allocations: 4 kB / 0.7498 GB, free: 1.324 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002599/0.3123, allocations: 0.6881 MB / 0.7504 GB, free: 0.625 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3124, allocations: 3.938 kB / 0.7505 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3124, allocations: 8 kB / 0.7505 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3134, allocations: 127.8 kB / 0.7506 GB, free: 500 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.3134, allocations: 12.02 kB / 0.7506 GB, free: 488 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009776/0.3144, allocations: 119.3 kB / 0.7507 GB, free: 368 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.3145, allocations: 23.98 kB / 0.7507 GB, free: 344 kB / 0.573 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 (69): * Single equations (assignments): 67 * 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.0006023/0.3151, allocations: 301 kB / 0.751 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.3153, allocations: 75.06 kB / 0.7511 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.3185, allocations: 0.7416 MB / 0.7518 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3186, allocations: 4 kB / 0.7518 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3186, allocations: 0 / 0.7518 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.3186, allocations: 3.984 kB / 0.7518 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.3199, allocations: 0.7354 MB / 0.7525 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3199, allocations: 0 / 0.7525 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.3211, allocations: 143.8 kB / 0.7527 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.3211, allocations: 4 kB / 0.7527 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.3212, allocations: 8 kB / 0.7527 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.3212, allocations: 4 kB / 0.7527 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3212, allocations: 0 / 0.7527 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00468/0.3259, allocations: 1.112 MB / 0.7538 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.3262, allocations: 160.1 kB / 0.7539 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.3264, allocations: 15.95 kB / 0.7539 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008879/0.3273, allocations: 91.91 kB / 0.754 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.3275, allocations: 52.36 kB / 0.7541 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.3275, allocations: 16 kB / 0.7541 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009278/0.3285, allocations: 459 kB / 0.7545 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3285, allocations: 3.938 kB / 0.7545 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001033/0.3295, allocations: 263 kB / 0.7548 GB, free: 12.07 MB / 0.5886 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 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * 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.005074/0.3346, allocations: 1.669 MB / 0.7564 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004668/0.3393, allocations: 1.253 MB / 0.7576 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3394, allocations: 0 / 0.7576 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.341, allocations: 346.5 kB / 0.758 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.3421, allocations: 149.8 kB / 0.7581 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.3571, allocations: 5.386 MB / 0.7634 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/0.3578, allocations: 0.9495 MB / 0.7643 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006704/0.3585, allocations: 81.12 kB / 0.7644 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/0.3592, allocations: 287.3 kB / 0.7647 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of SimCode: time 1.232e-06/0.3592, allocations: 4 kB / 0.7647 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.4782, allocations: 14.16 MB / 0.7785 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003789/0.4786, allocations: 199.9 kB / 0.7787 GB, free: 3.555 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/3.531, allocations: 4 kB / 0.7787 GB, free: 3.551 MB / 0.6042 GB