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 1.913/1.913, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 11.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08804, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5146/0.6027, allocations: 165.7 MB / 474.8 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02522/0.6279, allocations: 13.31 MB / 488.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.629, allocations: 27.75 kB / 488.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.6305, allocations: 362.3 kB / 488.5 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.6412, allocations: 2.725 MB / 491.2 MB, free: 4.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007614/0.6489, allocations: 1.906 MB / 493.1 MB, free: 2.688 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.6523, allocations: 1.568 MB / 494.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.6536, allocations: 0.6431 MB / 495.3 MB, free: 472 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007359/0.661, allocations: 2.085 MB / 497.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.6632, allocations: 0.7596 MB / 498.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.6636, allocations: 56 kB / 498.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/0.6782, allocations: 5.391 MB / 0.4918 GB, free: 8.156 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.6792, allocations: 454.9 kB / 0.4923 GB, free: 7.711 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.6797, allocations: 237.2 kB / 0.4925 GB, free: 7.473 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008251/0.688, allocations: 2.994 MB / 0.4954 GB, free: 4.473 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.688, allocations: 0 / 0.4954 GB, free: 4.473 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6881, allocations: 0 / 0.4954 GB, free: 4.473 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.6881, allocations: 0 / 0.4954 GB, free: 4.473 MB / 394.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.006394/0.6945, allocations: 1.831 MB / 0.4972 GB, free: 2.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6946, allocations: 8.031 kB / 0.4972 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.6952, allocations: 126.7 kB / 0.4973 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.697, allocations: 0.6815 MB / 0.498 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.6972, allocations: 133.4 kB / 0.4981 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.6974, allocations: 91.97 kB / 0.4982 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.7011, allocations: 1.444 MB / 0.4996 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.7012, allocations: 0 / 0.4996 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.7014, allocations: 39.98 kB / 0.4997 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.7015, allocations: 73.89 kB / 0.4997 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.7055, allocations: 1.465 MB / 0.5012 GB, free: 14.4 MB / 410.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.01382/0.7193, allocations: 6.359 MB / 0.5074 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.7222, allocations: 0.913 MB / 0.5083 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/0.7241, allocations: 1.734 MB / 0.5099 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.7242, allocations: 47.2 kB / 0.51 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007304/0.7249, allocations: 95.7 kB / 0.5101 GB, free: 4.434 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.727e-06/0.7249, allocations: 0 / 0.5101 GB, free: 4.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=94): time 0.02913/0.7541, allocations: 4.927 MB / 0.5149 GB, free: 15.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.7542, allocations: 115.8 kB / 0.515 GB, free: 15.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7556, allocations: 0.7346 MB / 0.5157 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.7558, allocations: 45.7 kB / 0.5158 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/0.7563, allocations: 478.8 kB / 0.5162 GB, free: 14.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.7567, allocations: 327.2 kB / 0.5165 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.7568, allocations: 28 kB / 0.5166 GB, free: 13.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.7571, allocations: 402.7 kB / 0.5169 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.7591, allocations: 0.592 MB / 0.5175 GB, free: 12.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/0.7615, allocations: 0.9852 MB / 0.5185 GB, free: 11.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.7639, allocations: 0.7909 MB / 0.5193 GB, free: 10.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.764, allocations: 4 kB / 0.5193 GB, free: 10.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006283/0.7702, allocations: 1.922 MB / 0.5211 GB, free: 8.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004123/0.7707, allocations: 0.4998 MB / 0.5216 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.7707, allocations: 12 kB / 0.5216 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/0.7736, allocations: 336.5 kB / 0.522 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.7758, allocations: 287.5 kB / 0.5222 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.7786, allocations: 0.9232 MB / 0.5231 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.7806, allocations: 107.8 kB / 0.5232 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.7809, allocations: 81.09 kB / 0.5233 GB, free: 6.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.7809, allocations: 11.94 kB / 0.5233 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006146/0.7871, allocations: 1.82 MB / 0.5251 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.7872, allocations: 12 kB / 0.5251 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/0.7905, allocations: 332.7 kB / 0.5254 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.7927, allocations: 283.5 kB / 0.5257 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.7953, allocations: 0.9231 MB / 0.5266 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.7971, allocations: 119.8 kB / 0.5267 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.7974, allocations: 83.95 kB / 0.5268 GB, free: 2.719 MB / 426.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.000925/0.7983, allocations: 416.6 kB / 0.5272 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.7986, allocations: 90.97 kB / 0.5273 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006425/0.805, allocations: 1.909 MB / 0.5291 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.8051, allocations: 11.91 kB / 0.5292 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.8051, allocations: 6.453 kB / 0.5292 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2517/1.057, allocations: 314.9 kB / 0.5295 GB, free: 171.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004821/1.057, allocations: 24.11 kB / 0.5295 GB, free: 171.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.059, allocations: 79.14 kB / 0.5296 GB, free: 171.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/1.059, allocations: 66.52 kB / 0.5296 GB, free: 171.1 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008997/1.068, allocations: 1.791 MB / 0.5314 GB, free: 171 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006267/1.075, allocations: 2.243 MB / 0.5336 GB, free: 170.2 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001837/1.076, allocations: 0.632 MB / 0.5342 GB, free: 170 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001025/1.077, allocations: 0.5159 MB / 0.5347 GB, free: 169.8 MB / 426.7 MB Notification: Performance of Backend: time 6.01e-07/1.077, allocations: 0 / 0.5347 GB, free: 169.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01251/1.09, allocations: 3.432 MB / 0.538 GB, free: 168.9 MB / 426.7 MB Notification: Performance of SimCode: time 0.005807/1.096, allocations: 2.953 MB / 0.5409 GB, free: 167.3 MB / 426.7 MB Notification: Performance of Templates: time 0.09556/1.191, allocations: 46.74 MB / 0.5866 GB, free: 126.5 MB / 426.7 MB