Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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 2.068/2.068, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003758, allocations: 12 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.09911, allocations: 44.5 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.42/11.52, allocations: 3.686 GB / 3.987 GB, free: 102.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/11.52, allocations: 87.97 kB / 3.987 GB, free: 102.2 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 5.114/16.63, allocations: 0.8997 GB / 4.887 GB, free: 26.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.016e-06/16.63, allocations: 3.719 kB / 4.887 GB, free: 26.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003969/16.63, allocations: 78.89 kB / 4.887 GB, free: 26.15 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.0301/16.66, allocations: 6.314 MB / 4.893 GB, free: 22.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/16.66, allocations: 6.125 kB / 4.893 GB, free: 22.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003682/16.67, allocations: 414 kB / 4.894 GB, free: 22.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/16.68, allocations: 2.41 MB / 4.896 GB, free: 22.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000594/16.68, allocations: 358.5 kB / 4.896 GB, free: 22.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/16.68, allocations: 309.2 kB / 4.897 GB, free: 22.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/16.7, allocations: 5.284 MB / 4.902 GB, free: 21.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002162/16.7, allocations: 11.75 kB / 4.902 GB, free: 21.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001824/16.7, allocations: 128.7 kB / 4.902 GB, free: 21.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004708/16.7, allocations: 261.4 kB / 4.902 GB, free: 21.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/16.72, allocations: 5.618 MB / 4.908 GB, free: 21.43 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.05461/16.77, allocations: 20.44 MB / 4.928 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/16.79, allocations: 3.57 MB / 4.931 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003642/16.79, allocations: 3.215 MB / 4.934 GB, free: 8.285 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008435/16.8, allocations: 2.568 MB / 4.937 GB, free: 7.375 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003071/16.8, allocations: 286.4 kB / 4.937 GB, free: 7.172 MB / 458.7 MB Notification: Performance of pre-optimization done (n=316): time 1.682e-05/16.8, allocations: 0 / 4.937 GB, free: 7.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=376): time 0.2337/17.03, allocations: 33.79 MB / 4.97 GB, free: 3.664 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/17.04, allocations: 325.7 kB / 4.97 GB, free: 3.277 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005156/17.04, allocations: 2.096 MB / 4.973 GB, free: 1.488 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00143/17.04, allocations: 97.7 kB / 4.973 GB, free: 1.387 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002066/17.04, allocations: 1.303 MB / 4.974 GB, free: 208 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.4015/17.45, allocations: 1.324 MB / 4.975 GB, free: 41.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009099/17.45, allocations: 89.16 kB / 4.975 GB, free: 41.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004344/17.45, allocations: 478.8 kB / 4.976 GB, free: 41.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01074/17.46, allocations: 2.901 MB / 4.979 GB, free: 41.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01281/17.47, allocations: 3.898 MB / 4.982 GB, free: 40.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/17.48, allocations: 3.467 MB / 4.986 GB, free: 39.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.156e-05/17.48, allocations: 7.875 kB / 4.986 GB, free: 39.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.04586/17.53, allocations: 9.86 MB / 4.995 GB, free: 39.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008961/17.53, allocations: 1 MB / 4.996 GB, free: 38.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-05/17.53, allocations: 28.28 kB / 4.996 GB, free: 38.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01849/17.55, allocations: 2.753 MB / 4.999 GB, free: 38.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008307/17.56, allocations: 0.9402 MB / 5 GB, free: 38.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/17.57, allocations: 6.703 MB / 5.007 GB, free: 35.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008675/17.58, allocations: 0.5349 MB / 5.007 GB, free: 35.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/17.58, allocations: 245.4 kB / 5.007 GB, free: 35.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/17.58, allocations: 7.484 kB / 5.007 GB, free: 35.04 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03591/17.62, allocations: 8.791 MB / 5.016 GB, free: 34.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/17.62, allocations: 28.69 kB / 5.016 GB, free: 34.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01655/17.64, allocations: 2.576 MB / 5.018 GB, free: 34.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008436/17.64, allocations: 0.9574 MB / 5.019 GB, free: 34.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/17.66, allocations: 6.567 MB / 5.026 GB, free: 31.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008583/17.67, allocations: 0.5197 MB / 5.026 GB, free: 31.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/17.67, allocations: 241.5 kB / 5.027 GB, free: 31.6 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 () * Number of clocked 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.004795/17.68, allocations: 1.116 MB / 5.028 GB, free: 31.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/17.68, allocations: 303.8 kB / 5.028 GB, free: 31.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0344/17.71, allocations: 8.654 MB / 5.036 GB, free: 30.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.701e-05/17.71, allocations: 40.34 kB / 5.036 GB, free: 30.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/17.71, allocations: 0 / 5.036 GB, free: 30.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02545/17.74, allocations: 6.76 MB / 5.043 GB, free: 30.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04951/17.79, allocations: 13.32 MB / 5.056 GB, free: 29.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-05/17.79, allocations: 0 / 5.056 GB, free: 29.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007211/17.79, allocations: 0.7063 MB / 5.057 GB, free: 29.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02169/17.82, allocations: 3.12 MB / 5.06 GB, free: 29.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001407/17.82, allocations: 184.1 kB / 5.06 GB, free: 29.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/17.83, allocations: 6.323 MB / 5.066 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/17.83, allocations: 0 / 5.066 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03693/17.87, allocations: 10.83 MB / 5.077 GB, free: 26.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004466/17.87, allocations: 1.056 MB / 5.078 GB, free: 25.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/17.87, allocations: 132 kB / 5.078 GB, free: 25.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007237/17.88, allocations: 422 kB / 5.078 GB, free: 25.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001468/17.88, allocations: 258.4 kB / 5.078 GB, free: 25.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008971/17.88, allocations: 185.2 kB / 5.079 GB, free: 25.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003295/17.89, allocations: 1.41 MB / 5.08 GB, free: 25.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.81e-07/17.89, allocations: 0 / 5.08 GB, free: 25.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01789/17.91, allocations: 3.259 MB / 5.083 GB, free: 24.7 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) * Number of clocked states: 0 () * 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,1 7,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01384/17.92, allocations: 3.338 MB / 5.086 GB, free: 24.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03909/17.96, allocations: 11.42 MB / 5.098 GB, free: 20.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/17.96, allocations: 3.594 kB / 5.098 GB, free: 20.44 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01258/17.97, allocations: 3.461 MB / 5.101 GB, free: 19.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/17.98, allocations: 1.325 MB / 5.102 GB, free: 19.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03717/18.02, allocations: 11.57 MB / 5.114 GB, free: 10.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/18.02, allocations: 2.463 MB / 5.116 GB, free: 8.809 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01519/18.04, allocations: 2.542 MB / 5.118 GB, free: 7.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00284/18.04, allocations: 348.5 kB / 5.119 GB, free: 6.793 MB / 474.7 MB Notification: Performance of SimCode: time 1.322e-06/18.04, allocations: 0 / 5.119 GB, free: 6.793 MB / 474.7 MB Notification: Performance of Templates: time 0.6747/18.72, allocations: 123.5 MB / 5.239 GB, free: 46.2 MB / 490.7 MB