Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.000437, allocations: 16 kB / 314.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2756, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5532/0.8288, allocations: 141.7 MB / 0.4989 GB, free: 12.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.84, allocations: 7.247 MB / 0.506 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.8412, allocations: 29.97 kB / 0.506 GB, free: 11.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000956/0.8421, allocations: 269 kB / 0.5063 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004527/0.8467, allocations: 1.27 MB / 0.5075 GB, free: 11.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.8503, allocations: 0.9857 MB / 0.5085 GB, free: 10.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.8522, allocations: 1.165 MB / 0.5096 GB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.8529, allocations: 383 kB / 0.51 GB, free: 10.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.855, allocations: 0.7443 MB / 0.5107 GB, free: 10.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.8563, allocations: 0.5545 MB / 0.5113 GB, free: 9.984 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.8564, allocations: 33.62 kB / 0.5113 GB, free: 9.984 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.8584, allocations: 0.6323 MB / 0.5119 GB, free: 9.879 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.8588, allocations: 218.5 kB / 0.5121 GB, free: 9.797 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.8591, allocations: 158.6 kB / 0.5123 GB, free: 9.746 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.8608, allocations: 0.9933 MB / 0.5133 GB, free: 9.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.734e-06/0.8608, allocations: 0 / 0.5133 GB, free: 9.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.8608, allocations: 3.938 kB / 0.5133 GB, free: 9.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.8608, allocations: 0 / 0.5133 GB, free: 9.258 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00239/0.8632, allocations: 0.9834 MB / 0.5142 GB, free: 8.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8633, allocations: 10.31 kB / 0.5142 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.8643, allocations: 133.4 kB / 0.5144 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.8654, allocations: 499.8 kB / 0.5148 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.8656, allocations: 117.8 kB / 0.5149 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.8657, allocations: 46.91 kB / 0.515 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.8673, allocations: 0.8074 MB / 0.5158 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.8673, allocations: 2.375 kB / 0.5158 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.597e-05/0.8674, allocations: 27.06 kB / 0.5158 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/0.8675, allocations: 42.41 kB / 0.5158 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.8689, allocations: 0.6226 MB / 0.5165 GB, free: 7.574 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.005906/0.8748, allocations: 3.923 MB / 0.5203 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.8756, allocations: 339.5 kB / 0.5206 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-05/0.8757, allocations: 25.2 kB / 0.5206 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.8758, allocations: 43.53 kB / 0.5207 GB, free: 4.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.641e-06/0.8758, allocations: 0 / 0.5207 GB, free: 4.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.006463/0.8823, allocations: 1.646 MB / 0.5223 GB, free: 3.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.8824, allocations: 136.9 kB / 0.5224 GB, free: 3.574 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.8833, allocations: 0.5883 MB / 0.523 GB, free: 3.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.8834, allocations: 34.64 kB / 0.523 GB, free: 3.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.8838, allocations: 411 kB / 0.5234 GB, free: 3.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.8839, allocations: 146.1 kB / 0.5236 GB, free: 2.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.884, allocations: 14.09 kB / 0.5236 GB, free: 2.926 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.8842, allocations: 343.1 kB / 0.5239 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.8847, allocations: 205.2 kB / 0.5241 GB, free: 2.562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.8854, allocations: 0.5297 MB / 0.5246 GB, free: 2.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.8861, allocations: 298.5 kB / 0.5249 GB, free: 2.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.361e-06/0.8861, allocations: 2.781 kB / 0.5249 GB, free: 2.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001881/0.888, allocations: 0.8549 MB / 0.5257 GB, free: 1.812 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.888, allocations: 10.22 kB / 0.5257 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.888, allocations: 10.41 kB / 0.5257 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.8897, allocations: 316.3 kB / 0.5261 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.8902, allocations: 137 kB / 0.5262 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.8917, allocations: 0.8972 MB / 0.5271 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/0.8925, allocations: 52.02 kB / 0.5271 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.8927, allocations: 71.91 kB / 0.5272 GB, free: 1.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004613/0.8931, allocations: 245.5 kB / 0.5274 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.8933, allocations: 68.62 kB / 0.5275 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.8954, allocations: 0.6779 MB / 0.5281 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.319e-06/0.8954, allocations: 5.719 kB / 0.5281 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.8954, allocations: 0 / 0.5281 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.8954, allocations: 3.953 kB / 0.5281 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.8979, allocations: 1.261 MB / 0.5294 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.57e-06/0.898, allocations: 2.75 kB / 0.5294 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.8995, allocations: 221.9 kB / 0.5296 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.8996, allocations: 22.81 kB / 0.5296 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.8997, allocations: 24.39 kB / 0.5296 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.9026, allocations: 2.688 MB / 0.5323 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.9026, allocations: 5.078 kB / 0.5323 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.9043, allocations: 0.789 MB / 0.533 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.9047, allocations: 182.4 kB / 0.5332 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.9049, allocations: 10.81 kB / 0.5332 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.9054, allocations: 22.61 kB / 0.5332 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.9055, allocations: 54.2 kB / 0.5333 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.9057, allocations: 40.3 kB / 0.5333 GB, free: 12.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006596/0.9063, allocations: 414.5 kB / 0.5337 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.9064, allocations: 1.938 kB / 0.5337 GB, free: 12.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001296/0.9077, allocations: 299.2 kB / 0.534 GB, free: 12.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/0.9088, allocations: 374.2 kB / 0.5344 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.9102, allocations: 0.5433 MB / 0.5349 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.879e-06/0.9103, allocations: 2.844 kB / 0.5349 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.9114, allocations: 398.4 kB / 0.5353 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.9133, allocations: 318.3 kB / 0.5356 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.9163, allocations: 1.607 MB / 0.5372 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.917, allocations: 0.9446 MB / 0.5381 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.9176, allocations: 117.7 kB / 0.5382 GB, free: 10.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.617e-06/0.9176, allocations: 0 / 0.5382 GB, free: 10.23 MB / 426.7 MB Notification: Performance of Templates: time 0.04337/0.961, allocations: 16.61 MB / 0.5544 GB, free: 10.08 MB / 442.7 MB