Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.000438, allocations: 12 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2768, allocations: 48.71 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04944/0.3263, allocations: 34.22 MB / 365.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008028/0.3343, allocations: 4.148 MB / 369.6 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009134/0.3353, allocations: 23.75 kB / 369.6 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.3362, allocations: 266.7 kB / 369.8 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.3385, allocations: 0.7057 MB / 370.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.3412, allocations: 0.6982 MB / 371.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3433, allocations: 1.149 MB / 372.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006875/0.344, allocations: 369.4 kB / 372.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1594/0.5034, allocations: 70.63 MB / 443.4 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02563/0.5291, allocations: 13.18 MB / 456.6 MB, free: 1.008 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.5293, allocations: 28 kB / 456.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2931/0.8225, allocations: 18.03 MB / 474.6 MB, free: 99.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004509/0.823, allocations: 209.5 kB / 474.8 MB, free: 99.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.8233, allocations: 164.4 kB / 475 MB, free: 99.06 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.8246, allocations: 0.7555 MB / 475.8 MB, free: 99.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.044e-06/0.8246, allocations: 0 / 475.8 MB, free: 99.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.8246, allocations: 0.75 kB / 475.8 MB, free: 99.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.8247, allocations: 0.625 kB / 475.8 MB, free: 99.01 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002084/0.8268, allocations: 0.9219 MB / 476.7 MB, free: 98.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.8268, allocations: 9.781 kB / 476.7 MB, free: 98.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.8272, allocations: 87.53 kB / 476.8 MB, free: 98.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.8282, allocations: 0.4955 MB / 477.3 MB, free: 98.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.8283, allocations: 103.7 kB / 477.4 MB, free: 98.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.8284, allocations: 48.11 kB / 477.4 MB, free: 98.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.8302, allocations: 0.8181 MB / 478.2 MB, free: 97.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.8303, allocations: 1.688 kB / 478.2 MB, free: 97.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.8304, allocations: 29.94 kB / 478.3 MB, free: 97.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.628e-05/0.8305, allocations: 43.27 kB / 478.3 MB, free: 97.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.832, allocations: 0.6361 MB / 478.9 MB, free: 97.88 MB / 394.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.005363/0.8374, allocations: 4.219 MB / 483.2 MB, free: 95.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.8385, allocations: 403.4 kB / 483.6 MB, free: 95.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/0.8389, allocations: 0.5056 MB / 484.1 MB, free: 94.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.8389, allocations: 38.11 kB / 484.1 MB, free: 94.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 3.48e-06/0.839, allocations: 0 / 484.1 MB, free: 94.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.004044/0.843, allocations: 1.507 MB / 485.6 MB, free: 94.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.8431, allocations: 132.8 kB / 485.7 MB, free: 93.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.8439, allocations: 0.5481 MB / 486.3 MB, free: 93.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.844, allocations: 34.55 kB / 486.3 MB, free: 93.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.8442, allocations: 397 kB / 486.7 MB, free: 93.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.8444, allocations: 167.5 kB / 486.9 MB, free: 93.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.8445, allocations: 14.78 kB / 486.9 MB, free: 93.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.8446, allocations: 344.5 kB / 487.2 MB, free: 93.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.8451, allocations: 232.8 kB / 487.5 MB, free: 93.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.8458, allocations: 0.539 MB / 488 MB, free: 92.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.8464, allocations: 316.8 kB / 488.3 MB, free: 92.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.412e-06/0.8464, allocations: 6.188 kB / 488.3 MB, free: 92.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002305/0.8488, allocations: 0.9407 MB / 489.2 MB, free: 92.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.8488, allocations: 10.69 kB / 489.3 MB, free: 92.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.8488, allocations: 7.188 kB / 489.3 MB, free: 92.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.8501, allocations: 274.8 kB / 489.5 MB, free: 92.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.8508, allocations: 131.6 kB / 489.7 MB, free: 92.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.8519, allocations: 0.8605 MB / 490.5 MB, free: 92.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.8527, allocations: 45.98 kB / 490.6 MB, free: 92.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.8528, allocations: 36.23 kB / 490.6 MB, free: 92.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004351/0.8533, allocations: 249.9 kB / 490.8 MB, free: 91.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8534, allocations: 68.77 kB / 490.9 MB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.8551, allocations: 0.7049 MB / 491.6 MB, free: 91.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.8551, allocations: 7.109 kB / 491.6 MB, free: 91.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.432e-06/0.8551, allocations: 0 / 491.6 MB, free: 91.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.564e-06/0.8551, allocations: 8.109 kB / 491.6 MB, free: 91.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.8577, allocations: 1.401 MB / 493 MB, free: 91.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.041e-06/0.8578, allocations: 0 / 493 MB, free: 91.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.8589, allocations: 198.8 kB / 493.2 MB, free: 91.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003507/0.8593, allocations: 67.06 kB / 493.3 MB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.8594, allocations: 13.33 kB / 493.3 MB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.8616, allocations: 2.806 MB / 496.1 MB, free: 88.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8617, allocations: 0 / 496.1 MB, free: 88.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.8636, allocations: 0.9822 MB / 497.1 MB, free: 88.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.8641, allocations: 202.2 kB / 497.3 MB, free: 88.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.8642, allocations: 13.64 kB / 497.3 MB, free: 88.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.8648, allocations: 29.47 kB / 497.3 MB, free: 88.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.865, allocations: 49.17 kB / 497.4 MB, free: 88.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.144e-05/0.865, allocations: 18.89 kB / 497.4 MB, free: 88.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005543/0.8656, allocations: 378.7 kB / 497.8 MB, free: 88.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.8656, allocations: 4 kB / 497.8 MB, free: 88.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001079/0.8667, allocations: 207.4 kB / 498 MB, free: 87.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005083/0.8672, allocations: 234.4 kB / 498.2 MB, free: 87.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.8686, allocations: 0.6045 MB / 498.8 MB, free: 87.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.968e-06/0.8686, allocations: 0 / 498.8 MB, free: 87.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.8699, allocations: 476.3 kB / 499.3 MB, free: 86.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.8716, allocations: 302.5 kB / 499.6 MB, free: 86.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.874, allocations: 1.69 MB / 0.4895 GB, free: 85.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.8745, allocations: 0.9471 MB / 0.4904 GB, free: 84.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.8747, allocations: 66.98 kB / 0.4905 GB, free: 84.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.634e-06/0.8747, allocations: 0 / 0.4905 GB, free: 84.11 MB / 394.7 MB Notification: Performance of Templates: time 0.01976/0.8945, allocations: 14.69 MB / 0.5048 GB, free: 69.62 MB / 394.7 MB