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.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,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.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004497, allocations: 8 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2792, allocations: 54.87 MB / 369.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02209/0.3014, allocations: 14.09 MB / 383.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008272/0.3097, allocations: 4.08 MB / 387.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.3108, allocations: 27.75 kB / 387.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.312, allocations: 270.6 kB / 387.7 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.3148, allocations: 0.7009 MB / 388.4 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.3177, allocations: 0.686 MB / 389 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.32, allocations: 1.156 MB / 390.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.3209, allocations: 373.3 kB / 390.6 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.3226, allocations: 0.6231 MB / 391.2 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009122/0.3236, allocations: 438.5 kB / 391.6 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3237, allocations: 32 kB / 391.6 MB, free: 4.062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/0.3247, allocations: 231.8 kB / 391.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.3251, allocations: 215.4 kB / 392.1 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.3253, allocations: 161.4 kB / 392.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3267, allocations: 0.7605 MB / 393 MB, free: 2.699 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.727e-06/0.3267, allocations: 3.938 kB / 393 MB, free: 2.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.917e-06/0.3267, allocations: 0 / 393 MB, free: 2.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3267, allocations: 0 / 393 MB, free: 2.695 MB / 314.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.002383/0.3291, allocations: 0.9247 MB / 393.9 MB, free: 1.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3292, allocations: 12.03 kB / 393.9 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004541/0.3296, allocations: 87.14 kB / 394 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3308, allocations: 0.4888 MB / 394.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.3309, allocations: 108.3 kB / 394.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.3311, allocations: 47.98 kB / 394.7 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.333, allocations: 0.8104 MB / 395.5 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.333, allocations: 0 / 395.5 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.3331, allocations: 27.98 kB / 395.5 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3332, allocations: 48.91 kB / 395.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.3349, allocations: 0.6361 MB / 396.2 MB, free: 15.33 MB / 330.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.01012/0.345, allocations: 4.221 MB / 400.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.3469, allocations: 407.5 kB / 400.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009412/0.3479, allocations: 0.5029 MB / 401.3 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.3479, allocations: 42.83 kB / 401.4 MB, free: 9.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 6.045e-06/0.348, allocations: 0 / 401.4 MB, free: 9.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.00771/0.3557, allocations: 1.506 MB / 402.9 MB, free: 8.191 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.3559, allocations: 132.5 kB / 403 MB, free: 8.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.3574, allocations: 0.5497 MB / 403.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.3576, allocations: 37.7 kB / 403.6 MB, free: 7.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.3582, allocations: 405.9 kB / 404 MB, free: 7.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.3585, allocations: 161.7 kB / 404.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.3586, allocations: 16 kB / 404.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.3589, allocations: 338.8 kB / 404.5 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009931/0.3599, allocations: 221.9 kB / 404.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.3614, allocations: 0.545 MB / 405.2 MB, free: 5.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3627, allocations: 324.5 kB / 405.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.3627, allocations: 4 kB / 405.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004426/0.3672, allocations: 0.9418 MB / 406.5 MB, free: 4.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.3672, allocations: 12.03 kB / 406.5 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/0.3673, allocations: 12 kB / 406.5 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.3695, allocations: 264.6 kB / 406.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.3706, allocations: 131.8 kB / 406.9 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.3728, allocations: 0.8567 MB / 407.8 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.3741, allocations: 47.83 kB / 407.8 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.3743, allocations: 43.98 kB / 407.9 MB, free: 2.941 MB / 330.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.0007114/0.375, allocations: 245.5 kB / 408.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.3753, allocations: 63.25 kB / 408.2 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.3784, allocations: 0.7086 MB / 408.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.3784, allocations: 8 kB / 408.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.3785, allocations: 0 / 408.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.3785, allocations: 3.984 kB / 408.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.3838, allocations: 1.383 MB / 410.3 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.3838, allocations: 4 kB / 410.3 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/0.3859, allocations: 200 kB / 410.5 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005859/0.3865, allocations: 56.8 kB / 410.5 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.3866, allocations: 15.98 kB / 410.5 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005241/0.3919, allocations: 2.809 MB / 413.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.054e-06/0.392, allocations: 0 / 413.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.3957, allocations: 0.9951 MB / 414.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.3966, allocations: 208.2 kB / 414.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.3968, allocations: 15.98 kB / 414.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.3979, allocations: 27.92 kB / 414.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.3981, allocations: 40.02 kB / 414.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.3982, allocations: 19.98 kB / 414.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001091/0.3993, allocations: 378.8 kB / 415 MB, free: 11.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.017e-06/0.3994, allocations: 4 kB / 415 MB, free: 11.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001912/0.4013, allocations: 200 kB / 415.2 MB, free: 11.16 MB / 346.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.0008638/0.4022, allocations: 254 kB / 415.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.405, allocations: 0.609 MB / 416.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.405, allocations: 0 / 416.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.4075, allocations: 470.3 kB / 416.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.4106, allocations: 297.8 kB / 416.8 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.416, allocations: 1.692 MB / 418.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.418, allocations: 0.9503 MB / 419.5 MB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/0.4188, allocations: 63.42 kB / 419.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of SimCode: time 3.99e-06/0.4188, allocations: 0 / 419.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of Templates: time 0.03429/0.4531, allocations: 14.68 MB / 434.2 MB, free: 8.094 MB / 362.7 MB