Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.I.y|ductIn.mediums.1..T|ductIn.mediums.1..Xi.1.|ductIn.mediums.1..p|ductIn.mediums.2..T|ductIn.mediums.2..Xi.1.|ductIn.mediums.2..p|ductOut.mediums.1..T|ductOut.mediums.1..Xi.1.|ductOut.mediums.1..p|ductOut.mediums.2..T|ductOut.mediums.2..Xi.1.|ductOut.mediums.2..p|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.323e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2569, allocations: 44.49 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.954/9.211, allocations: 3.685 GB / 3.972 GB, free: 71.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/9.212, allocations: 82.89 kB / 3.972 GB, free: 71.87 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$NumberOfPeople.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 4.778/13.99, allocations: 0.89 GB / 4.862 GB, free: 31.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.497e-06/13.99, allocations: 1.75 kB / 4.862 GB, free: 31.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003329/13.99, allocations: 80.86 kB / 4.862 GB, free: 31.52 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.02328/14.01, allocations: 6.018 MB / 4.868 GB, free: 28.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/14.01, allocations: 12.56 kB / 4.868 GB, free: 28.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/14.02, allocations: 417.1 kB / 4.868 GB, free: 28.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008435/14.02, allocations: 2.398 MB / 4.871 GB, free: 28.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/14.03, allocations: 256.1 kB / 4.871 GB, free: 28.13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/14.03, allocations: 189.7 kB / 4.871 GB, free: 28.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01263/14.04, allocations: 5.105 MB / 4.876 GB, free: 28.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/14.05, allocations: 4.79 MB / 4.881 GB, free: 27.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/14.05, allocations: 11.73 kB / 4.881 GB, free: 27.56 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/14.06, allocations: 10.2 kB / 4.881 GB, free: 27.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003428/14.06, allocations: 263.7 kB / 4.881 GB, free: 27.55 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04193/14.1, allocations: 20.28 MB / 4.901 GB, free: 18.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007662/14.11, allocations: 3.312 MB / 4.904 GB, free: 18.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004424/14.11, allocations: 2.099 MB / 4.906 GB, free: 18.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/14.11, allocations: 2.726 MB / 4.909 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005419/14.12, allocations: 2.424 MB / 4.911 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001931/14.12, allocations: 190.4 kB / 4.911 GB, free: 14.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 1.018e-05/14.12, allocations: 0 / 4.911 GB, free: 14.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1052/14.22, allocations: 23.75 MB / 4.935 GB, free: 12.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/14.23, allocations: 457.9 kB / 4.935 GB, free: 12.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/14.23, allocations: 1.439 MB / 4.936 GB, free: 12.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/14.23, allocations: 35.64 kB / 4.936 GB, free: 11.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/14.23, allocations: 1.298 MB / 4.938 GB, free: 11.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/14.23, allocations: 1.253 MB / 4.939 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005796/14.23, allocations: 1.156 kB / 4.939 GB, free: 10.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000339/14.23, allocations: 486.6 kB / 4.939 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005435/14.24, allocations: 2.527 MB / 4.942 GB, free: 10.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006579/14.25, allocations: 3.503 MB / 4.945 GB, free: 9.023 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01882/14.26, allocations: 4.511 MB / 4.95 GB, free: 8.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.664e-05/14.26, allocations: 7.656 kB / 4.95 GB, free: 8.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.03103/14.3, allocations: 8.618 MB / 4.958 GB, free: 8.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004494/14.3, allocations: 10.75 MB / 4.969 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/14.3, allocations: 25.41 kB / 4.969 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007707/14.31, allocations: 1.997 MB / 4.971 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005731/14.31, allocations: 0.9454 MB / 4.972 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008868/14.32, allocations: 6.114 MB / 4.978 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006292/14.33, allocations: 470.7 kB / 4.978 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/14.33, allocations: 245.7 kB / 4.978 GB, free: 10.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/14.33, allocations: 6.438 kB / 4.978 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03246/14.36, allocations: 8.809 MB / 4.987 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/14.36, allocations: 27.16 kB / 4.987 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00741/14.37, allocations: 1.916 MB / 4.989 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/14.38, allocations: 0.9601 MB / 4.99 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007876/14.38, allocations: 5.924 MB / 4.995 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00574/14.39, allocations: 453 kB / 4.996 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/14.39, allocations: 245.8 kB / 4.996 GB, free: 6.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * Number of states: 0 () * Number of discrete variables: 16 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],NumberOfPeople.nextTimeEvent,$PRE.NumberOfPeople.nextTimeEventScaled,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (499): * Single equations (assignments): 489 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001716/14.39, allocations: 223.6 kB / 4.996 GB, free: 6.855 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000999/14.39, allocations: 275.4 kB / 4.997 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02286/14.42, allocations: 7.766 MB / 5.004 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.452e-05/14.42, allocations: 41.22 kB / 5.004 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/14.42, allocations: 0 / 5.004 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01803/14.43, allocations: 6.107 MB / 5.01 GB, free: 3.539 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05435/14.49, allocations: 13.92 MB / 5.024 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-05/14.49, allocations: 7.953 kB / 5.024 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004866/14.49, allocations: 0.6936 MB / 5.024 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/14.5, allocations: 2.389 MB / 5.027 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/14.51, allocations: 132.1 kB / 5.027 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008955/14.51, allocations: 5.819 MB / 5.033 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/14.51, allocations: 11.53 kB / 5.033 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3984/14.91, allocations: 10.73 MB / 5.043 GB, free: 54.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003416/14.92, allocations: 1.009 MB / 5.044 GB, free: 54.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/14.92, allocations: 72.75 kB / 5.044 GB, free: 54.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005019/14.92, allocations: 351.4 kB / 5.044 GB, free: 54.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/14.92, allocations: 258.6 kB / 5.045 GB, free: 54.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006674/14.92, allocations: 179.3 kB / 5.045 GB, free: 54.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002112/14.93, allocations: 1.065 MB / 5.046 GB, free: 54.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-06/14.93, allocations: 0 / 5.046 GB, free: 54.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01486/14.94, allocations: 2.981 MB / 5.049 GB, free: 54.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (365): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,2 6,2 6,2 6,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01146/14.95, allocations: 3.425 MB / 5.052 GB, free: 54.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0234/14.98, allocations: 10.12 MB / 5.062 GB, free: 53.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/14.98, allocations: 5.031 kB / 5.062 GB, free: 53.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007688/14.98, allocations: 3.028 MB / 5.065 GB, free: 53.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007568/14.99, allocations: 1.146 MB / 5.066 GB, free: 53.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/15.01, allocations: 8.659 MB / 5.075 GB, free: 52.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/15.02, allocations: 2.463 MB / 5.077 GB, free: 51.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/15.02, allocations: 383.1 kB / 5.077 GB, free: 51.74 MB / 490.7 MB Notification: Performance of SimCode: time 2.134e-06/15.02, allocations: 0 / 5.077 GB, free: 51.74 MB / 490.7 MB Notification: Performance of Templates: time 0.5821/15.6, allocations: 151 MB / 5.225 GB, free: 71.1 MB / 0.4949 GB