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.81/1.81, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.749e-05, allocations: 7.25 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08388, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.305/8.389, allocations: 3.685 GB / 3.978 GB, free: 132 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/8.389, allocations: 89.38 kB / 3.978 GB, free: 132 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.464/12.85, allocations: 0.8983 GB / 4.877 GB, free: 26.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.348e-06/12.85, allocations: 2.125 kB / 4.877 GB, free: 26.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002758/12.85, allocations: 84.72 kB / 4.877 GB, free: 26.57 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.02195/12.87, allocations: 6.017 MB / 4.883 GB, free: 23.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/12.88, allocations: 10.38 kB / 4.883 GB, free: 23.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/12.88, allocations: 415 kB / 4.883 GB, free: 23.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007964/12.89, allocations: 2.392 MB / 4.885 GB, free: 22.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/12.89, allocations: 364.6 kB / 4.886 GB, free: 22.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/12.89, allocations: 305.7 kB / 4.886 GB, free: 22.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/12.9, allocations: 5.211 MB / 4.891 GB, free: 22.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/12.9, allocations: 8.969 kB / 4.891 GB, free: 22.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/12.9, allocations: 131.8 kB / 4.891 GB, free: 22.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003272/12.9, allocations: 259.8 kB / 4.891 GB, free: 22.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/12.92, allocations: 5.492 MB / 4.897 GB, free: 22.02 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.0409/12.96, allocations: 20.44 MB / 4.917 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008145/12.97, allocations: 3.49 MB / 4.92 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004659/12.97, allocations: 2.201 MB / 4.922 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002761/12.97, allocations: 3.218 MB / 4.925 GB, free: 7.996 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005954/12.98, allocations: 2.528 MB / 4.928 GB, free: 7.078 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002113/12.98, allocations: 271.4 kB / 4.928 GB, free: 6.887 MB / 458.7 MB Notification: Performance of pre-optimization done (n=316): time 9.427e-06/12.98, allocations: 3.25 kB / 4.928 GB, free: 6.887 MB / 458.7 MB Notification: Performance of matching and sorting (n=376): time 0.1468/13.13, allocations: 30.33 MB / 4.958 GB, free: 5.012 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002458/13.13, allocations: 333.6 kB / 4.958 GB, free: 4.617 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/13.13, allocations: 1.844 MB / 4.96 GB, free: 2.934 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001075/13.13, allocations: 101.5 kB / 4.96 GB, free: 2.832 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/13.14, allocations: 1.232 MB / 4.961 GB, free: 1.684 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002233/13.14, allocations: 1.326 MB / 4.962 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006038/13.14, allocations: 84 kB / 4.963 GB, free: 420 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.3268/13.47, allocations: 492.3 kB / 4.963 GB, free: 41.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006836/13.47, allocations: 2.578 MB / 4.966 GB, free: 41.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007806/13.48, allocations: 3.578 MB / 4.969 GB, free: 40.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007492/13.49, allocations: 3.161 MB / 4.972 GB, free: 40.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.066e-05/13.49, allocations: 7 kB / 4.972 GB, free: 40.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.02715/13.52, allocations: 8.836 MB / 4.981 GB, free: 40.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00228/13.52, allocations: 10.75 MB / 4.991 GB, free: 28.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/13.52, allocations: 28.59 kB / 4.991 GB, free: 28.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009053/13.53, allocations: 2.138 MB / 4.993 GB, free: 28.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/13.53, allocations: 0.9399 MB / 4.994 GB, free: 28.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007167/13.54, allocations: 5.93 MB / 5 GB, free: 25.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006432/13.55, allocations: 0.5356 MB / 5.001 GB, free: 25.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/13.55, allocations: 246.3 kB / 5.001 GB, free: 25.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/13.55, allocations: 2.688 kB / 5.001 GB, free: 25.76 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02158/13.57, allocations: 7.914 MB / 5.009 GB, free: 25.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.693e-05/13.57, allocations: 27.19 kB / 5.009 GB, free: 25.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007386/13.58, allocations: 1.986 MB / 5.011 GB, free: 25.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/13.58, allocations: 0.9618 MB / 5.011 GB, free: 25.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/13.59, allocations: 5.784 MB / 5.017 GB, free: 22.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005443/13.59, allocations: 0.5196 MB / 5.018 GB, free: 22.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/13.6, allocations: 244.5 kB / 5.018 GB, free: 22.35 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.001745/13.6, allocations: 363.3 kB / 5.018 GB, free: 22.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/13.6, allocations: 304.7 kB / 5.018 GB, free: 22.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/13.62, allocations: 7.861 MB / 5.026 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.084e-05/13.62, allocations: 41.44 kB / 5.026 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/13.62, allocations: 0 / 5.026 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01333/13.63, allocations: 5.939 MB / 5.032 GB, free: 21.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03349/13.66, allocations: 12.71 MB / 5.044 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/13.67, allocations: 3.188 kB / 5.044 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004971/13.67, allocations: 0.7063 MB / 5.045 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01127/13.68, allocations: 2.551 MB / 5.048 GB, free: 20.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/13.68, allocations: 177.1 kB / 5.048 GB, free: 20.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006664/13.69, allocations: 5.614 MB / 5.053 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.88e-06/13.69, allocations: 6.078 kB / 5.053 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02855/13.72, allocations: 11.06 MB / 5.064 GB, free: 17.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003523/13.72, allocations: 1.054 MB / 5.065 GB, free: 16.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00146/13.72, allocations: 132 kB / 5.065 GB, free: 16.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005379/13.73, allocations: 417.2 kB / 5.066 GB, free: 16.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/13.73, allocations: 256.2 kB / 5.066 GB, free: 16.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008585/13.73, allocations: 186.8 kB / 5.066 GB, free: 16.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002839/13.73, allocations: 1.388 MB / 5.067 GB, free: 16.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.157e-06/13.73, allocations: 0 / 5.067 GB, free: 16.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01429/13.75, allocations: 3.249 MB / 5.071 GB, free: 16.71 MB / 474.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.01127/13.76, allocations: 3.297 MB / 5.074 GB, free: 16.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02416/13.78, allocations: 10.51 MB / 5.084 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/13.78, allocations: 4.906 kB / 5.084 GB, free: 13.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007749/13.79, allocations: 3.158 MB / 5.087 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008278/13.8, allocations: 1.327 MB / 5.088 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/13.82, allocations: 8.93 MB / 5.097 GB, free: 9.148 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003106/13.83, allocations: 2.455 MB / 5.1 GB, free: 8.199 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002863/13.83, allocations: 403.6 kB / 5.1 GB, free: 8.172 MB / 474.7 MB Notification: Performance of SimCode: time 2.13e-06/13.83, allocations: 0 / 5.1 GB, free: 8.172 MB / 474.7 MB Notification: Performance of Templates: time 0.5833/14.41, allocations: 153.4 MB / 5.25 GB, free: 36.79 MB / 490.7 MB