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.RoomCO2.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.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003611, allocations: 12 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09838, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.12/11.21, allocations: 3.666 GB / 3.968 GB, free: 9.492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/11.21, allocations: 98.97 kB / 3.968 GB, free: 9.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.302/14.52, allocations: 0.5508 GB / 4.518 GB, free: 37.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/14.52, allocations: 2.812 kB / 4.518 GB, free: 37.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001288/14.52, allocations: 29.88 kB / 4.518 GB, free: 37.54 MB / 426.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.01316/14.53, allocations: 3.076 MB / 4.521 GB, free: 36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/14.53, allocations: 9.062 kB / 4.521 GB, free: 36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/14.53, allocations: 132.8 kB / 4.522 GB, free: 35.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/14.53, allocations: 0.7326 MB / 4.522 GB, free: 35.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/14.53, allocations: 134.5 kB / 4.522 GB, free: 35.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004024/14.53, allocations: 86.97 kB / 4.523 GB, free: 35.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003944/14.54, allocations: 1.439 MB / 4.524 GB, free: 35.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.676e-05/14.54, allocations: 1.781 kB / 4.524 GB, free: 35.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/14.54, allocations: 45.84 kB / 4.524 GB, free: 35.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/14.54, allocations: 65.91 kB / 4.524 GB, free: 35.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/14.54, allocations: 1.441 MB / 4.525 GB, free: 35.38 MB / 426.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.01365/14.56, allocations: 6.039 MB / 4.531 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/14.56, allocations: 0.9008 MB / 4.532 GB, free: 32.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/14.56, allocations: 1.752 MB / 4.534 GB, free: 30.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/14.56, allocations: 47.84 kB / 4.534 GB, free: 30.4 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001005/14.56, allocations: 104.1 kB / 4.534 GB, free: 30.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 3.527e-06/14.56, allocations: 0 / 4.534 GB, free: 30.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.02944/14.59, allocations: 4.998 MB / 4.539 GB, free: 29.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/14.59, allocations: 110.8 kB / 4.539 GB, free: 29.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/14.59, allocations: 0.7458 MB / 4.54 GB, free: 29.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004246/14.59, allocations: 45.83 kB / 4.54 GB, free: 29.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/14.59, allocations: 464.9 kB / 4.54 GB, free: 29.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/14.59, allocations: 339.9 kB / 4.541 GB, free: 29.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/14.59, allocations: 25.41 kB / 4.541 GB, free: 29.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/14.59, allocations: 402 kB / 4.541 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/14.6, allocations: 0.5849 MB / 4.542 GB, free: 28.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/14.6, allocations: 0.9777 MB / 4.543 GB, free: 28.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/14.6, allocations: 0.778 MB / 4.543 GB, free: 28.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/14.6, allocations: 11.41 kB / 4.543 GB, free: 28.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005716/14.61, allocations: 1.909 MB / 4.545 GB, free: 27.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002968/14.61, allocations: 0.4922 MB / 4.546 GB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/14.61, allocations: 11.12 kB / 4.546 GB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/14.61, allocations: 343.1 kB / 4.546 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/14.61, allocations: 287.2 kB / 4.546 GB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/14.61, allocations: 0.9236 MB / 4.547 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/14.62, allocations: 116.7 kB / 4.547 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002629/14.62, allocations: 82.8 kB / 4.547 GB, free: 26.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/14.62, allocations: 8.609 kB / 4.547 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005404/14.62, allocations: 1.803 MB / 4.549 GB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/14.62, allocations: 11.56 kB / 4.549 GB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/14.62, allocations: 338.2 kB / 4.549 GB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/14.63, allocations: 280.5 kB / 4.55 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/14.63, allocations: 0.9305 MB / 4.551 GB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/14.63, allocations: 114.5 kB / 4.551 GB, free: 26.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/14.63, allocations: 80.38 kB / 4.551 GB, free: 26.05 MB / 426.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.0009581/14.63, allocations: 425.4 kB / 4.551 GB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/14.63, allocations: 87.56 kB / 4.551 GB, free: 25.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/14.64, allocations: 1.879 MB / 4.553 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/14.64, allocations: 13.34 kB / 4.553 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/14.64, allocations: 2.672 kB / 4.553 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/14.64, allocations: 6 kB / 4.553 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008611/14.65, allocations: 2.89 MB / 4.556 GB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/14.65, allocations: 3.906 kB / 4.556 GB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/14.65, allocations: 189.1 kB / 4.556 GB, free: 25.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/14.65, allocations: 394.8 kB / 4.557 GB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003013/14.65, allocations: 44.62 kB / 4.557 GB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/14.65, allocations: 0.8884 MB / 4.557 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/14.65, allocations: 3.344 kB / 4.557 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006307/14.66, allocations: 2.286 MB / 4.56 GB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/14.66, allocations: 315.5 kB / 4.56 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/14.66, allocations: 26.78 kB / 4.56 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/14.66, allocations: 86.19 kB / 4.56 GB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/14.66, allocations: 71.08 kB / 4.56 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/14.66, allocations: 59.53 kB / 4.56 GB, free: 24.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009417/14.66, allocations: 0.5159 MB / 4.561 GB, free: 24.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/14.66, allocations: 0 / 4.561 GB, free: 24.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005824/14.67, allocations: 1.344 MB / 4.562 GB, free: 23.91 MB / 426.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.006651/14.68, allocations: 2.039 MB / 4.564 GB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007575/14.68, allocations: 2.581 MB / 4.567 GB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/14.68, allocations: 3.312 kB / 4.567 GB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/14.69, allocations: 0.6995 MB / 4.567 GB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/14.69, allocations: 463.2 kB / 4.568 GB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008061/14.7, allocations: 2.894 MB / 4.57 GB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/14.7, allocations: 1.145 MB / 4.572 GB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003686/14.7, allocations: 0.593 MB / 4.572 GB, free: 20.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/14.7, allocations: 122.6 kB / 4.572 GB, free: 20.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/14.7, allocations: 0 / 4.572 GB, free: 20.78 MB / 426.7 MB Notification: Performance of Templates: time 0.1069/14.81, allocations: 48.04 MB / 4.619 GB, free: 8.211 MB / 442.7 MB