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.58/1.58, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07761/0.07801, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.7846/0.8626, allocations: 165.6 MB / 438.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02409/0.8868, allocations: 13.22 MB / 451.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.888, allocations: 26.34 kB / 451.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.8897, allocations: 348.5 kB / 451.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.9021, allocations: 2.722 MB / 454.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008126/0.9103, allocations: 1.908 MB / 456.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003316/0.9136, allocations: 1.561 MB / 458 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.9152, allocations: 0.6456 MB / 458.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007624/0.9229, allocations: 2.085 MB / 460.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.9252, allocations: 0.7531 MB / 461.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000408/0.9256, allocations: 57.75 kB / 461.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.94, allocations: 5.333 MB / 466.9 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.9413, allocations: 447.9 kB / 467.3 MB, free: 468 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007461/0.9421, allocations: 237.8 kB / 467.6 MB, free: 16.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00883/0.951, allocations: 2.988 MB / 470.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.951, allocations: 0 / 470.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.951, allocations: 0 / 470.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.364e-05/0.9511, allocations: 0 / 470.5 MB, free: 15.16 MB / 362.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.00687/0.958, allocations: 1.837 MB / 472.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.958, allocations: 8.562 kB / 472.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.9588, allocations: 123.1 kB / 472.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.9609, allocations: 0.6872 MB / 473.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.9611, allocations: 130.5 kB / 473.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.9613, allocations: 87 kB / 473.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/0.9651, allocations: 1.443 MB / 474.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.9652, allocations: 9.438 kB / 474.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.9654, allocations: 42.88 kB / 474.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.9655, allocations: 70.41 kB / 475 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/0.9697, allocations: 1.468 MB / 476.4 MB, free: 12.65 MB / 362.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.01484/0.9846, allocations: 6.113 MB / 482.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/0.9876, allocations: 0.9166 MB / 483.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002101/0.9898, allocations: 1.732 MB / 485.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/0.9899, allocations: 46.22 kB / 485.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008527/0.9907, allocations: 97.67 kB / 485.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 4.438e-06/0.9908, allocations: 0 / 485.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=94): time 0.03041/1.021, allocations: 4.923 MB / 490.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/1.021, allocations: 115.8 kB / 490.4 MB, free: 3.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.023, allocations: 0.7298 MB / 491.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003197/1.023, allocations: 47.83 kB / 491.2 MB, free: 2.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/1.024, allocations: 476.7 kB / 491.6 MB, free: 2.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000524/1.024, allocations: 332.6 kB / 491.9 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/1.024, allocations: 29.88 kB / 492 MB, free: 2.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/1.025, allocations: 405.5 kB / 492.4 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/1.027, allocations: 0.5886 MB / 493 MB, free: 1.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/1.029, allocations: 0.9826 MB / 493.9 MB, free: 416 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/1.032, allocations: 0.7903 MB / 494.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.032, allocations: 0 / 494.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006997/1.039, allocations: 1.927 MB / 496.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004815/1.04, allocations: 0.498 MB / 497.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/1.04, allocations: 15.98 kB / 497.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.043, allocations: 336.2 kB / 497.5 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/1.045, allocations: 287.6 kB / 497.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/1.048, allocations: 0.9204 MB / 498.7 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/1.05, allocations: 113.6 kB / 498.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/1.05, allocations: 78.16 kB / 498.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.05, allocations: 8 kB / 498.9 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006215/1.057, allocations: 1.813 MB / 0.489 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/1.057, allocations: 12 kB / 0.489 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/1.06, allocations: 334.2 kB / 0.4893 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/1.062, allocations: 285.2 kB / 0.4896 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/1.065, allocations: 0.9297 MB / 0.4905 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.067, allocations: 113.1 kB / 0.4906 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/1.067, allocations: 81.47 kB / 0.4907 GB, free: 9.617 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (154): * Single equations (assignments): 151 * 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.001007/1.068, allocations: 422 kB / 0.4911 GB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/1.069, allocations: 94.88 kB / 0.4912 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006582/1.075, allocations: 1.906 MB / 0.493 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/1.075, allocations: 3.984 kB / 0.493 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.075, allocations: 0.875 kB / 0.493 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.076, allocations: 326.4 kB / 0.4933 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/1.077, allocations: 23.94 kB / 0.4934 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/1.078, allocations: 83.34 kB / 0.4934 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/1.079, allocations: 67.27 kB / 0.4935 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008933/1.088, allocations: 1.796 MB / 0.4953 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006658/1.094, allocations: 2.251 MB / 0.4975 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001915/1.096, allocations: 0.6246 MB / 0.4981 GB, free: 4.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001118/1.097, allocations: 0.5161 MB / 0.4986 GB, free: 3.691 MB / 378.7 MB Notification: Performance of Backend: time 7.11e-07/1.097, allocations: 0 / 0.4986 GB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01385/1.111, allocations: 3.436 MB / 0.5019 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of SimCode: time 0.007106/1.118, allocations: 2.938 MB / 0.5048 GB, free: 14.14 MB / 394.7 MB Notification: Performance of Templates: time 0.1185/1.237, allocations: 46.73 MB / 0.5504 GB, free: 15.56 MB / 442.7 MB