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.LinearColdWater.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.LinearColdWater,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.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.3 MB / 224.8 MB, free: 1.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.000432, allocations: 8 kB / 282.5 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08601, allocations: 48.71 MB / 331.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2303/0.3163, allocations: 14.06 MB / 345.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00695/0.3233, allocations: 4.072 MB / 349.3 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.3245, allocations: 22.69 kB / 349.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.3254, allocations: 271.9 kB / 349.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.3277, allocations: 0.7024 MB / 350.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.3304, allocations: 0.7032 MB / 351 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.3325, allocations: 1.153 MB / 352.2 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.3332, allocations: 380 kB / 352.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.3348, allocations: 0.6225 MB / 353.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007719/0.3356, allocations: 433.2 kB / 353.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3357, allocations: 31.09 kB / 353.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009481/0.3367, allocations: 236.6 kB / 353.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.337, allocations: 212.8 kB / 354.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.3372, allocations: 164.2 kB / 354.2 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.3385, allocations: 0.7581 MB / 355 MB, free: 5.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.548e-06/0.3385, allocations: 5.094 kB / 355 MB, free: 5.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.095e-06/0.3385, allocations: 0 / 355 MB, free: 5.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.3385, allocations: 0 / 355 MB, free: 5.363 MB / 282.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.00231/0.3409, allocations: 0.9167 MB / 355.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3409, allocations: 8.844 kB / 355.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004559/0.3414, allocations: 96.53 kB / 356 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009526/0.3424, allocations: 0.4978 MB / 356.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.3425, allocations: 102.8 kB / 356.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.3426, allocations: 49.2 kB / 356.7 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.3442, allocations: 0.8183 MB / 357.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.3443, allocations: 1.5 kB / 357.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.3444, allocations: 27.55 kB / 357.5 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-05/0.3445, allocations: 41.16 kB / 357.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.346, allocations: 0.6363 MB / 358.2 MB, free: 3.531 MB / 282.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.005614/0.3516, allocations: 4.225 MB / 362.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.3528, allocations: 406.6 kB / 362.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006701/0.3535, allocations: 0.4944 MB / 363.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.3536, allocations: 37.27 kB / 363.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.436e-06/0.3536, allocations: 1.219 kB / 363.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.004482/0.3581, allocations: 1.506 MB / 364.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/0.3582, allocations: 142.2 kB / 365 MB, free: 13.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/0.3592, allocations: 0.5466 MB / 365.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-05/0.3593, allocations: 32.08 kB / 365.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.3597, allocations: 401.5 kB / 365.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.3599, allocations: 167.2 kB / 366.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.3599, allocations: 15.72 kB / 366.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3602, allocations: 342.2 kB / 366.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.3607, allocations: 220.2 kB / 366.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008742/0.3616, allocations: 0.5453 MB / 367.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.3624, allocations: 316 kB / 367.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.77e-06/0.3624, allocations: 3.906 kB / 367.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002656/0.3651, allocations: 0.9483 MB / 368.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.3651, allocations: 14.22 kB / 368.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.3652, allocations: 9.75 kB / 368.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.3666, allocations: 261 kB / 368.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.3673, allocations: 136 kB / 368.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.3686, allocations: 0.8604 MB / 369.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.3695, allocations: 49.59 kB / 369.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.665e-05/0.3696, allocations: 38.34 kB / 369.8 MB, free: 10.52 MB / 298.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.0005247/0.3701, allocations: 247.5 kB / 370.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.3703, allocations: 63.03 kB / 370.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.3722, allocations: 0.7077 MB / 370.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.3723, allocations: 9.766 kB / 370.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.373e-06/0.3723, allocations: 0 / 370.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.3723, allocations: 3.344 kB / 370.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.3755, allocations: 1.39 MB / 372.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.367e-06/0.3756, allocations: 6.969 kB / 372.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.3768, allocations: 189.2 kB / 372.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.3773, allocations: 63.38 kB / 372.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.3774, allocations: 25.48 kB / 372.5 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/0.3807, allocations: 2.801 MB / 375.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.888e-06/0.3808, allocations: 11.19 kB / 375.3 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.383, allocations: 0.9868 MB / 376.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.3835, allocations: 202 kB / 376.5 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3837, allocations: 13.12 kB / 376.5 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/0.3842, allocations: 34.23 kB / 376.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3844, allocations: 31.86 kB / 376.6 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-05/0.3845, allocations: 21.58 kB / 376.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006738/0.3851, allocations: 383.9 kB / 377 MB, free: 4.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.64e-07/0.3852, allocations: 3.25 kB / 377 MB, free: 4.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001104/0.3863, allocations: 208.6 kB / 377.2 MB, free: 4.719 MB / 298.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.0005952/0.3869, allocations: 246 kB / 377.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.3885, allocations: 0.6039 MB / 378 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.687e-06/0.3885, allocations: 1.5 kB / 378.1 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.39, allocations: 471.4 kB / 378.5 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.3919, allocations: 294.6 kB / 378.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.3952, allocations: 1.689 MB / 380.5 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.396, allocations: 0.9532 MB / 381.4 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.3963, allocations: 67.36 kB / 381.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of SimCode: time 1.638e-06/0.3963, allocations: 0 / 381.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of Templates: time 0.02721/0.4235, allocations: 14.69 MB / 396.2 MB, free: 3.055 MB / 314.7 MB