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.806/1.806, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.849e-05, allocations: 3.438 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07846/0.07851, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.627/8.705, allocations: 3.685 GB / 3.978 GB, free: 34.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/8.706, allocations: 86.77 kB / 3.978 GB, free: 34.25 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.734/13.44, allocations: 0.8982 GB / 4.877 GB, free: 24.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.637e-06/13.44, allocations: 5.531 kB / 4.877 GB, free: 24.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003112/13.44, allocations: 75.5 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.02171/13.46, allocations: 6.025 MB / 4.883 GB, free: 21.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/13.46, allocations: 10.22 kB / 4.883 GB, free: 21.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/13.47, allocations: 410.4 kB / 4.883 GB, free: 21.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008162/13.47, allocations: 2.401 MB / 4.885 GB, free: 21.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/13.47, allocations: 362.6 kB / 4.886 GB, free: 20.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/13.48, allocations: 305.9 kB / 4.886 GB, free: 20.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/13.49, allocations: 5.166 MB / 4.891 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/13.49, allocations: 14.59 kB / 4.891 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007883/13.49, allocations: 129.4 kB / 4.891 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003262/13.49, allocations: 260.9 kB / 4.891 GB, free: 20.35 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/13.51, allocations: 5.44 MB / 4.897 GB, free: 20.33 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.04213/13.55, allocations: 20.44 MB / 4.917 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008779/13.56, allocations: 3.466 MB / 4.92 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004909/13.56, allocations: 2.194 MB / 4.922 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003467/13.56, allocations: 3.224 MB / 4.925 GB, free: 23.94 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006085/13.57, allocations: 2.506 MB / 4.928 GB, free: 23.77 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001963/13.57, allocations: 279.8 kB / 4.928 GB, free: 23.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=316): time 9.729e-06/13.57, allocations: 0 / 4.928 GB, free: 23.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=376): time 0.146/13.72, allocations: 30.15 MB / 4.957 GB, free: 22.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002366/13.72, allocations: 326 kB / 4.958 GB, free: 21.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/13.72, allocations: 1.839 MB / 4.96 GB, free: 21.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001055/13.72, allocations: 99.8 kB / 4.96 GB, free: 21.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/13.73, allocations: 1.234 MB / 4.961 GB, free: 20.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/13.73, allocations: 1.324 MB / 4.962 GB, free: 20.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/13.73, allocations: 87.56 kB / 4.962 GB, free: 20.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003892/13.73, allocations: 487.2 kB / 4.963 GB, free: 19.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00579/13.73, allocations: 2.579 MB / 4.965 GB, free: 19.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006926/13.74, allocations: 3.559 MB / 4.969 GB, free: 17.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00718/13.75, allocations: 3.157 MB / 4.972 GB, free: 16.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-05/13.75, allocations: 10.92 kB / 4.972 GB, free: 16.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.0264/13.77, allocations: 8.764 MB / 4.98 GB, free: 12.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.006029/13.78, allocations: 10.74 MB / 4.991 GB, free: 1.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.369e-05/13.78, allocations: 32 kB / 4.991 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/13.79, allocations: 2.246 MB / 4.993 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006128/13.8, allocations: 0.9415 MB / 4.994 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008784/13.81, allocations: 5.924 MB / 5 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00648/13.81, allocations: 0.5345 MB / 5 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/13.81, allocations: 248.4 kB / 5.001 GB, free: 9.012 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/13.81, allocations: 4 kB / 5.001 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02298/13.84, allocations: 7.836 MB / 5.008 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.196e-05/13.84, allocations: 28 kB / 5.008 GB, free: 2.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007791/13.85, allocations: 1.992 MB / 5.01 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006293/13.85, allocations: 0.9555 MB / 5.011 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3345/14.19, allocations: 5.773 MB / 5.017 GB, free: 49.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005844/14.19, allocations: 0.519 MB / 5.017 GB, free: 49.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/14.19, allocations: 242.8 kB / 5.017 GB, free: 49.21 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.001654/14.2, allocations: 366.4 kB / 5.018 GB, free: 49.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/14.2, allocations: 299.7 kB / 5.018 GB, free: 49.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/14.22, allocations: 7.864 MB / 5.026 GB, free: 48.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/14.22, allocations: 48.75 kB / 5.026 GB, free: 48.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/14.22, allocations: 0 / 5.026 GB, free: 48.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01448/14.23, allocations: 5.942 MB / 5.032 GB, free: 48.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03386/14.27, allocations: 12.71 MB / 5.044 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-05/14.27, allocations: 4.781 kB / 5.044 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005039/14.27, allocations: 0.7035 MB / 5.045 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01147/14.28, allocations: 2.556 MB / 5.047 GB, free: 47.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001136/14.28, allocations: 178.9 kB / 5.047 GB, free: 47.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006458/14.29, allocations: 5.618 MB / 5.053 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.346e-06/14.29, allocations: 3.844 kB / 5.053 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02957/14.32, allocations: 11.03 MB / 5.064 GB, free: 44.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0036/14.32, allocations: 1.049 MB / 5.065 GB, free: 43.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/14.33, allocations: 136.4 kB / 5.065 GB, free: 43.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005288/14.33, allocations: 420 kB / 5.065 GB, free: 43.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/14.33, allocations: 261.1 kB / 5.065 GB, free: 43.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008273/14.33, allocations: 188.6 kB / 5.066 GB, free: 43.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002965/14.34, allocations: 1.385 MB / 5.067 GB, free: 43.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.186e-06/14.34, allocations: 0 / 5.067 GB, free: 43.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0141/14.35, allocations: 3.256 MB / 5.07 GB, free: 43.68 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.01112/14.36, allocations: 3.329 MB / 5.073 GB, free: 43.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02449/14.39, allocations: 10.38 MB / 5.084 GB, free: 42.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/14.39, allocations: 4.812 kB / 5.084 GB, free: 42.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007983/14.39, allocations: 3.143 MB / 5.087 GB, free: 42.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008726/14.4, allocations: 1.321 MB / 5.088 GB, free: 42.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/14.43, allocations: 8.899 MB / 5.097 GB, free: 41.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/14.43, allocations: 2.465 MB / 5.099 GB, free: 40.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002909/14.43, allocations: 407.4 kB / 5.099 GB, free: 40.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.9e-06/14.43, allocations: 3.562 kB / 5.099 GB, free: 40.67 MB / 490.7 MB Notification: Performance of Templates: time 0.5375/14.97, allocations: 153 MB / 5.249 GB, free: 51.96 MB / 490.7 MB