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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.092/4.092, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.088e-05, allocations: 3.969 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2661, allocations: 98.74 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2458/0.5119, allocations: 130.9 MB / 0.7625 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.5123, allocations: 87.94 kB / 0.7626 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5927/1.105, allocations: 14.8 MB / 0.777 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.054e-06/1.105, allocations: 0 / 0.777 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001704/1.105, allocations: 16.91 kB / 0.7771 GB, free: 134.6 MB / 0.6511 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.003529/1.109, allocations: 1.041 MB / 0.7781 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/1.109, allocations: 9.562 kB / 0.7781 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002577/1.109, allocations: 107.8 kB / 0.7782 GB, free: 134 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004918/1.11, allocations: 98.78 kB / 0.7783 GB, free: 134 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/1.112, allocations: 0.6015 MB / 0.7789 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/1.112, allocations: 50.02 kB / 0.7789 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/1.113, allocations: 61.06 kB / 0.779 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/1.115, allocations: 0.6894 MB / 0.7796 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/1.115, allocations: 0 / 0.7796 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/1.115, allocations: 26.73 kB / 0.7797 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/1.115, allocations: 19.2 kB / 0.7797 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.116, allocations: 472.6 kB / 0.7801 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00608/1.122, allocations: 2.672 MB / 0.7827 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/1.125, allocations: 0.5553 MB / 0.7833 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/1.125, allocations: 203.8 kB / 0.7835 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.741e-05/1.125, allocations: 8.094 kB / 0.7835 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007564/1.126, allocations: 282.4 kB / 0.7838 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.165e-06/1.126, allocations: 1.219 kB / 0.7838 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001527/1.128, allocations: 482.1 kB / 0.7842 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/1.128, allocations: 218.5 kB / 0.7844 GB, free: 132 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.129, allocations: 0.589 MB / 0.785 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/1.129, allocations: 38.19 kB / 0.785 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/1.13, allocations: 353.1 kB / 0.7854 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/1.13, allocations: 165.5 kB / 0.7855 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/1.13, allocations: 9.906 kB / 0.7855 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.556e-05/1.13, allocations: 329.4 kB / 0.7859 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/1.131, allocations: 168.7 kB / 0.786 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/1.131, allocations: 279.9 kB / 0.7863 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/1.132, allocations: 243.2 kB / 0.7865 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.132, allocations: 3.953 kB / 0.7865 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001627/1.134, allocations: 0.5825 MB / 0.7871 GB, free: 131 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/1.134, allocations: 420.1 kB / 0.7875 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.134, allocations: 0.6562 kB / 0.7875 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/1.134, allocations: 4.234 kB / 0.7875 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.135, allocations: 148.3 kB / 0.7876 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/1.135, allocations: 6.938 kB / 0.7876 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.137, allocations: 131.3 kB / 0.7878 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.137, allocations: 23.72 kB / 0.7878 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.137, allocations: 5.625 kB / 0.7878 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/1.138, allocations: 491.4 kB / 0.7883 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.138, allocations: 0.9688 kB / 0.7883 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.138, allocations: 2.938 kB / 0.7883 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.139, allocations: 121.5 kB / 0.7884 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.139, allocations: 4.297 kB / 0.7884 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.14, allocations: 101.2 kB / 0.7885 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/1.141, allocations: 21.44 kB / 0.7885 GB, free: 130.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * 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.0002788/1.141, allocations: 134.9 kB / 0.7886 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/1.141, allocations: 76.05 kB / 0.7887 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/1.143, allocations: 0.5102 MB / 0.7892 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.143, allocations: 6.188 kB / 0.7892 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.143, allocations: 0 / 0.7892 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.143, allocations: 2.391 kB / 0.7892 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/1.145, allocations: 0.7485 MB / 0.7899 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.145, allocations: 0.6094 kB / 0.7899 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.146, allocations: 141.7 kB / 0.7901 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/1.146, allocations: 2.75 kB / 0.7901 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/1.146, allocations: 11.31 kB / 0.7901 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/1.146, allocations: 3.547 kB / 0.7901 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.146, allocations: 0 / 0.7901 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/1.149, allocations: 0.7694 MB / 0.7908 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/1.149, allocations: 213.5 kB / 0.7911 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/1.149, allocations: 17.44 kB / 0.7911 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.15, allocations: 93.14 kB / 0.7912 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/1.151, allocations: 46.12 kB / 0.7912 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/1.151, allocations: 14.95 kB / 0.7912 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001087/1.152, allocations: 474 kB / 0.7917 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.91e-07/1.152, allocations: 1.312 kB / 0.7917 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001306/1.153, allocations: 247.9 kB / 0.7919 GB, free: 129.6 MB / 0.6511 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) * 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.002575/1.156, allocations: 1.34 MB / 0.7932 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002304/1.158, allocations: 0.8941 MB / 0.7941 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.158, allocations: 0.9062 kB / 0.7941 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007152/1.159, allocations: 228.1 kB / 0.7943 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.16, allocations: 178.5 kB / 0.7945 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/1.164, allocations: 1.016 MB / 0.7955 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/1.164, allocations: 0.942 MB / 0.7964 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001133/1.166, allocations: 132.3 kB / 0.7965 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/1.166, allocations: 273.9 kB / 0.7968 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.553e-06/1.166, allocations: 0 / 0.7968 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/1.225, allocations: 16.59 MB / 0.813 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.226, allocations: 179.6 kB / 0.8132 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.289/4.515, allocations: 0 / 0.8132 GB, free: 123.2 MB / 0.6511 GB