Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004905, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.0859, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.46/11.54, allocations: 3.66 GB / 3.926 GB, free: 9.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/11.54, allocations: 87.53 kB / 3.926 GB, free: 9.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.173/14.72, allocations: 0.5472 GB / 4.474 GB, free: 27.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/14.72, allocations: 8 kB / 4.474 GB, free: 27.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.969e-05/14.72, allocations: 20 kB / 4.474 GB, free: 27.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01321/14.73, allocations: 3.091 MB / 4.477 GB, free: 24.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/14.73, allocations: 8.031 kB / 4.477 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/14.73, allocations: 128.9 kB / 4.477 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/14.73, allocations: 0.7309 MB / 4.477 GB, free: 24.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/14.73, allocations: 132.8 kB / 4.478 GB, free: 24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/14.73, allocations: 87.98 kB / 4.478 GB, free: 23.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004118/14.74, allocations: 1.435 MB / 4.479 GB, free: 22.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/14.74, allocations: 4 kB / 4.479 GB, free: 22.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/14.74, allocations: 39.98 kB / 4.479 GB, free: 22.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/14.74, allocations: 73.33 kB / 4.479 GB, free: 22.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/14.74, allocations: 1.436 MB / 4.481 GB, free: 21.36 MB / 378.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.01449/14.76, allocations: 5.778 MB / 4.486 GB, free: 16.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/14.76, allocations: 0.9094 MB / 4.487 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/14.76, allocations: 1.746 MB / 4.489 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/14.76, allocations: 39.22 kB / 4.489 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001042/14.76, allocations: 110.7 kB / 4.489 GB, free: 13.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.759e-06/14.76, allocations: 480 / 4.489 GB, free: 13.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.03046/14.79, allocations: 5.023 MB / 4.494 GB, free: 8.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/14.79, allocations: 115.8 kB / 4.494 GB, free: 7.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/14.8, allocations: 0.7307 MB / 4.495 GB, free: 7.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000369/14.8, allocations: 49.7 kB / 4.495 GB, free: 7.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/14.8, allocations: 470.8 kB / 4.495 GB, free: 6.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/14.8, allocations: 335.2 kB / 4.496 GB, free: 6.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/14.8, allocations: 24 kB / 4.496 GB, free: 6.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/14.8, allocations: 398.7 kB / 4.496 GB, free: 5.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/14.8, allocations: 0.5881 MB / 4.496 GB, free: 5.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/14.8, allocations: 0.9726 MB / 4.497 GB, free: 4.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/14.8, allocations: 0.7793 MB / 4.498 GB, free: 3.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/14.8, allocations: 4 kB / 4.498 GB, free: 3.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.006266/14.81, allocations: 1.918 MB / 4.5 GB, free: 1.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003137/14.81, allocations: 0.5002 MB / 4.501 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/14.81, allocations: 12 kB / 4.501 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002796/14.81, allocations: 328.4 kB / 4.501 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/14.82, allocations: 287.5 kB / 4.501 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/14.82, allocations: 0.9348 MB / 4.502 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/14.82, allocations: 115.8 kB / 4.502 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/14.82, allocations: 79.97 kB / 4.502 GB, free: 15.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/14.82, allocations: 4 kB / 4.502 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007025/14.83, allocations: 1.804 MB / 4.504 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.134e-05/14.83, allocations: 12 kB / 4.504 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/14.83, allocations: 328.8 kB / 4.504 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/14.84, allocations: 283.5 kB / 4.505 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/14.84, allocations: 0.9348 MB / 4.506 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/14.84, allocations: 107.9 kB / 4.506 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/14.84, allocations: 83.91 kB / 4.506 GB, free: 11.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001186/14.84, allocations: 437.1 kB / 4.506 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/14.84, allocations: 94.88 kB / 4.506 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007026/14.85, allocations: 1.862 MB / 4.508 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/14.85, allocations: 15.98 kB / 4.508 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/14.85, allocations: 0 / 4.508 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/14.85, allocations: 11.92 kB / 4.508 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009762/14.86, allocations: 2.892 MB / 4.511 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/14.86, allocations: 8.031 kB / 4.511 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/14.86, allocations: 179.8 kB / 4.511 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/14.86, allocations: 396.3 kB / 4.511 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/14.87, allocations: 39.97 kB / 4.511 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/14.87, allocations: 0.8958 MB / 4.512 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/14.87, allocations: 2.734 kB / 4.512 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/14.88, allocations: 2.278 MB / 4.515 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/14.88, allocations: 327.1 kB / 4.515 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/14.88, allocations: 24 kB / 4.515 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/14.88, allocations: 91.73 kB / 4.515 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/14.88, allocations: 76.83 kB / 4.515 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/14.88, allocations: 55.97 kB / 4.515 GB, free: 1.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001201/14.88, allocations: 0.5146 MB / 4.516 GB, free: 1.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.8e-07/14.88, allocations: 0 / 4.516 GB, free: 1.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.3263/15.21, allocations: 1.333 MB / 4.517 GB, free: 44.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007161/15.21, allocations: 2.018 MB / 4.519 GB, free: 44.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007555/15.22, allocations: 2.582 MB / 4.521 GB, free: 43.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/15.22, allocations: 2.156 kB / 4.521 GB, free: 43.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/15.22, allocations: 0.7003 MB / 4.522 GB, free: 43.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/15.23, allocations: 457.2 kB / 4.523 GB, free: 43.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/15.24, allocations: 2.918 MB / 4.525 GB, free: 42.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/15.24, allocations: 1.139 MB / 4.527 GB, free: 42.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003968/15.24, allocations: 0.6062 MB / 4.527 GB, free: 42.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006663/15.24, allocations: 119.4 kB / 4.527 GB, free: 42.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.974e-06/15.24, allocations: 0 / 4.527 GB, free: 42.07 MB / 394.7 MB Notification: Performance of Templates: time 0.1047/15.35, allocations: 48.01 MB / 4.574 GB, free: 39.9 MB / 394.7 MB