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_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadModel(Modelica): time 1.75/1.75, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.277e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.07734, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.71/8.787, allocations: 3.685 GB / 3.978 GB, free: 34.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/8.787, allocations: 79.41 kB / 3.978 GB, free: 33.99 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.913/13.7, allocations: 0.8983 GB / 4.877 GB, free: 24.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.061e-06/13.7, allocations: 0 / 4.877 GB, free: 24.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002744/13.7, allocations: 81.16 kB / 4.877 GB, free: 24.43 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.02124/13.72, allocations: 6.019 MB / 4.883 GB, free: 21.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/13.72, allocations: 12.53 kB / 4.883 GB, free: 21.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/13.73, allocations: 415.5 kB / 4.883 GB, free: 21.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008327/13.73, allocations: 2.4 MB / 4.885 GB, free: 21.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/13.73, allocations: 364 kB / 4.886 GB, free: 20.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/13.74, allocations: 305.2 kB / 4.886 GB, free: 20.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/13.75, allocations: 5.17 MB / 4.891 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/13.75, allocations: 9.562 kB / 4.891 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007608/13.75, allocations: 130.1 kB / 4.891 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000324/13.75, allocations: 262.6 kB / 4.891 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/13.76, allocations: 5.437 MB / 4.897 GB, free: 20.34 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.04048/13.8, allocations: 20.45 MB / 4.917 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008321/13.81, allocations: 3.457 MB / 4.92 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004511/13.82, allocations: 2.204 MB / 4.922 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003421/13.82, allocations: 3.22 MB / 4.925 GB, free: 23.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005591/13.83, allocations: 2.508 MB / 4.928 GB, free: 23.78 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00183/13.83, allocations: 280.9 kB / 4.928 GB, free: 23.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=316): time 8.516e-06/13.83, allocations: 0 / 4.928 GB, free: 23.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=376): time 0.1773/14.01, allocations: 30.15 MB / 4.958 GB, free: 22.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/14.01, allocations: 331.6 kB / 4.958 GB, free: 21.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/14.01, allocations: 1.836 MB / 4.96 GB, free: 21.56 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/14.01, allocations: 98.98 kB / 4.96 GB, free: 21.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/14.01, allocations: 1.306 MB / 4.961 GB, free: 20.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001761/14.01, allocations: 1.321 MB / 4.962 GB, free: 20.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006368/14.01, allocations: 88.22 kB / 4.962 GB, free: 20.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005959/14.01, allocations: 481.6 kB / 4.963 GB, free: 19.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009614/14.02, allocations: 2.581 MB / 4.965 GB, free: 19.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/14.04, allocations: 3.555 MB / 4.969 GB, free: 17.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/14.05, allocations: 3.162 MB / 4.972 GB, free: 16.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.882e-05/14.05, allocations: 7.188 kB / 4.972 GB, free: 16.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.03768/14.08, allocations: 8.882 MB / 4.981 GB, free: 12.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.006285/14.09, allocations: 11.12 MB / 4.991 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.282e-05/14.09, allocations: 28 kB / 4.991 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009335/14.1, allocations: 2.143 MB / 4.994 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00623/14.11, allocations: 0.9481 MB / 4.994 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008938/14.12, allocations: 5.913 MB / 5 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006885/14.12, allocations: 0.5371 MB / 5.001 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/14.12, allocations: 251.6 kB / 5.001 GB, free: 7.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/14.12, allocations: 4 kB / 5.001 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02466/14.15, allocations: 7.838 MB / 5.009 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.241e-05/14.15, allocations: 28 kB / 5.009 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008456/14.16, allocations: 2.013 MB / 5.011 GB, free: 0 / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3326/14.49, allocations: 1.191 MB / 5.012 GB, free: 53.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007541/14.5, allocations: 5.788 MB / 5.017 GB, free: 50 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00629/14.5, allocations: 0.5194 MB / 5.018 GB, free: 50 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/14.51, allocations: 242.8 kB / 5.018 GB, free: 50 MB / 490.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.001821/14.51, allocations: 362.4 kB / 5.019 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/14.51, allocations: 305.7 kB / 5.019 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/14.53, allocations: 7.871 MB / 5.027 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/14.53, allocations: 41.97 kB / 5.027 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/14.53, allocations: 0 / 5.027 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01398/14.54, allocations: 5.94 MB / 5.032 GB, free: 49.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03339/14.58, allocations: 12.71 MB / 5.045 GB, free: 48.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-05/14.58, allocations: 2.656 kB / 5.045 GB, free: 48.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005274/14.58, allocations: 0.7101 MB / 5.046 GB, free: 48.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/14.59, allocations: 2.548 MB / 5.048 GB, free: 48.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001109/14.59, allocations: 180.2 kB / 5.048 GB, free: 48.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006709/14.6, allocations: 5.607 MB / 5.054 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.034e-06/14.6, allocations: 4.906 kB / 5.054 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02938/14.63, allocations: 11.04 MB / 5.064 GB, free: 44.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003533/14.63, allocations: 1.054 MB / 5.065 GB, free: 44.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/14.64, allocations: 133.3 kB / 5.066 GB, free: 44.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005148/14.64, allocations: 418.9 kB / 5.066 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/14.64, allocations: 265.8 kB / 5.066 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007674/14.64, allocations: 183.7 kB / 5.066 GB, free: 44.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002921/14.65, allocations: 1.385 MB / 5.068 GB, free: 44.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.63e-07/14.65, allocations: 2.375 kB / 5.068 GB, free: 44.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01416/14.66, allocations: 3.25 MB / 5.071 GB, free: 44.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (373): * Single equations (assignments): 361 * 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.01119/14.67, allocations: 3.328 MB / 5.074 GB, free: 44.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02468/14.7, allocations: 10.45 MB / 5.084 GB, free: 43.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/14.7, allocations: 4.938 kB / 5.084 GB, free: 43.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00816/14.7, allocations: 3.141 MB / 5.087 GB, free: 43.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008553/14.71, allocations: 1.315 MB / 5.089 GB, free: 43.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/14.74, allocations: 8.74 MB / 5.097 GB, free: 42.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/14.74, allocations: 2.475 MB / 5.1 GB, free: 41.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01376/14.75, allocations: 2.782 MB / 5.102 GB, free: 41.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/14.75, allocations: 320.1 kB / 5.103 GB, free: 41.39 MB / 490.7 MB Notification: Performance of SimCode: time 2.274e-06/14.75, allocations: 4.812 kB / 5.103 GB, free: 41.39 MB / 490.7 MB Notification: Performance of Templates: time 0.6229/15.38, allocations: 129.3 MB / 5.229 GB, free: 50.58 MB / 490.7 MB