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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.279/4.279, allocations: 433.2 MB / 440.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.217e-05, allocations: 2.188 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2231, allocations: 98.73 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.263/0.4862, allocations: 130.2 MB / 0.756 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.4866, allocations: 87.94 kB / 0.7561 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06144/0.548, allocations: 14.68 MB / 0.7705 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5481, allocations: 0 / 0.7705 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001189/0.5482, allocations: 23.94 kB / 0.7705 GB, free: 7.883 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.004064/0.5523, allocations: 1.055 MB / 0.7715 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.141e-05/0.5524, allocations: 8.031 kB / 0.7715 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.5529, allocations: 94.88 kB / 0.7716 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.5551, allocations: 0.5968 MB / 0.7722 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/0.5552, allocations: 19.98 kB / 0.7722 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.5554, allocations: 43.98 kB / 0.7723 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002107/0.5576, allocations: 434.6 kB / 0.7727 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.5601, allocations: 0.6133 MB / 0.7733 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.5601, allocations: 7.953 kB / 0.7733 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.5603, allocations: 4 kB / 0.7733 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.5603, allocations: 16 kB / 0.7733 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007608/0.568, allocations: 2.527 MB / 0.7758 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.5704, allocations: 0.5401 MB / 0.7763 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007626/0.5713, allocations: 193.6 kB / 0.7765 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.827e-05/0.5714, allocations: 4.375 kB / 0.7765 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.5724, allocations: 269 kB / 0.7767 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.01e-05/0.5724, allocations: 3.984 kB / 0.7767 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001916/0.5744, allocations: 451.2 kB / 0.7772 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.5746, allocations: 218 kB / 0.7774 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.576, allocations: 475.6 kB / 0.7778 GB, free: 28 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.5751/1.151, allocations: 29.69 kB / 0.7779 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/1.152, allocations: 365.2 kB / 0.7782 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/1.152, allocations: 150.2 kB / 0.7784 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/1.152, allocations: 0 / 0.7784 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.153, allocations: 376.8 kB / 0.7787 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007284/1.153, allocations: 163.6 kB / 0.7789 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009249/1.154, allocations: 269.6 kB / 0.7791 GB, free: 138 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/1.155, allocations: 178.5 kB / 0.7793 GB, free: 138 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.155, allocations: 0.75 kB / 0.7793 GB, free: 138 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00222/1.157, allocations: 0.4999 MB / 0.7798 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/1.158, allocations: 415.2 kB / 0.7802 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.158, allocations: 4.281 kB / 0.7802 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.636e-05/1.158, allocations: 4.672 kB / 0.7802 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.16, allocations: 148.5 kB / 0.7803 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/1.16, allocations: 6.719 kB / 0.7803 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.162, allocations: 102.4 kB / 0.7804 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/1.162, allocations: 19.75 kB / 0.7805 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.162, allocations: 3.562 kB / 0.7805 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001808/1.164, allocations: 399.4 kB / 0.7808 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.164, allocations: 2.281 kB / 0.7808 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.164, allocations: 3.312 kB / 0.7808 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.165, allocations: 118.6 kB / 0.781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/1.165, allocations: 3.734 kB / 0.781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.167, allocations: 86.2 kB / 0.781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.167, allocations: 15.19 kB / 0.7811 GB, free: 137.5 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.0003456/1.168, allocations: 116.6 kB / 0.7812 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002065/1.17, allocations: 442.3 kB / 0.7816 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/1.17, allocations: 70.89 kB / 0.7817 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/1.172, allocations: 477.6 kB / 0.7821 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/1.172, allocations: 4.75 kB / 0.7821 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.172, allocations: 0 / 0.7821 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.172, allocations: 1.406 kB / 0.7821 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/1.174, allocations: 0.6587 MB / 0.7828 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.174, allocations: 0 / 0.7828 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/1.176, allocations: 136.4 kB / 0.7829 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.882e-05/1.176, allocations: 7.453 kB / 0.7829 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.176, allocations: 4.672 kB / 0.7829 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.177, allocations: 1.375 kB / 0.7829 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.177, allocations: 0 / 0.7829 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/1.179, allocations: 0.7235 MB / 0.7836 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/1.18, allocations: 209.6 kB / 0.7838 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/1.18, allocations: 5.266 kB / 0.7838 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/1.182, allocations: 84.5 kB / 0.7839 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/1.183, allocations: 45.08 kB / 0.7839 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/1.183, allocations: 14.14 kB / 0.784 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001155/1.184, allocations: 371.2 kB / 0.7843 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.222e-06/1.184, allocations: 0 / 0.7843 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001889/1.186, allocations: 238.9 kB / 0.7845 GB, free: 136.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.003348/1.189, allocations: 1.275 MB / 0.7858 GB, free: 136 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002997/1.192, allocations: 0.8577 MB / 0.7866 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.192, allocations: 0 / 0.7866 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009001/1.193, allocations: 219.2 kB / 0.7868 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/1.195, allocations: 170.9 kB / 0.787 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/1.2, allocations: 0.9677 MB / 0.7879 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/1.201, allocations: 0.944 MB / 0.7889 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001719/1.203, allocations: 121.5 kB / 0.789 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.204, allocations: 266.7 kB / 0.7892 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.054e-06/1.204, allocations: 0 / 0.7892 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08772/1.292, allocations: 14.42 MB / 0.8033 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/1.292, allocations: 174.4 kB / 0.8035 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/4.272, allocations: 5.906 kB / 0.8035 GB, free: 133.5 MB / 0.6511 GB