Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003508, allocations: 8 kB / 233.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06955/0.06992, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005964/0.07594, allocations: 4.188 MB / 276.1 MB, free: 7.988 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.07898, allocations: 1.334 MB / 277.4 MB, free: 6.648 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.07951, allocations: 11.94 kB / 277.5 MB, free: 6.637 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.07986, allocations: 119.1 kB / 277.6 MB, free: 6.52 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009056/0.08078, allocations: 378.9 kB / 277.9 MB, free: 6.148 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.08139, allocations: 183.7 kB / 278.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.08282, allocations: 0.8787 MB / 279 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005805/0.08342, allocations: 319 kB / 279.3 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.08404, allocations: 434.5 kB / 279.7 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.08475, allocations: 0.4941 MB / 280.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.08495, allocations: 76 kB / 280.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.08518, allocations: 76 kB / 280.4 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.08542, allocations: 203.3 kB / 280.6 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.08573, allocations: 229.2 kB / 280.8 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.08704, allocations: 0.9935 MB / 281.8 MB, free: 2.266 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.867e-06/0.08706, allocations: 0 / 281.8 MB, free: 2.266 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.08707, allocations: 0 / 281.8 MB, free: 2.266 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.0871, allocations: 0 / 281.8 MB, free: 2.266 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002691/0.0898, allocations: 1.26 MB / 283.1 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.08986, allocations: 8.031 kB / 283.1 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.09014, allocations: 118.8 kB / 283.2 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.09133, allocations: 0.5824 MB / 283.8 MB, free: 192 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.09162, allocations: 150.4 kB / 283.9 MB, free: 24 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.09181, allocations: 68.08 kB / 284 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.09386, allocations: 0.9448 MB / 284.9 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.09392, allocations: 0 / 284.9 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.09404, allocations: 32 kB / 285 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.09407, allocations: 20 kB / 285 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.09591, allocations: 0.6258 MB / 285.6 MB, free: 14.21 MB / 250.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.005697/0.1016, allocations: 2.585 MB / 288.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.1049, allocations: 0.8663 MB / 289 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/0.105, allocations: 16.55 kB / 289.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.1051, allocations: 55.06 kB / 289.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=70): time 4.378e-06/0.1051, allocations: 0 / 289.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=70): time 0.003725/0.1089, allocations: 1.432 MB / 290.5 MB, free: 8.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005763/0.1095, allocations: 0.9488 MB / 291.5 MB, free: 7.777 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.1109, allocations: 0.7471 MB / 292.2 MB, free: 7.016 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.111, allocations: 45.7 kB / 292.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.1114, allocations: 395 kB / 292.7 MB, free: 6.578 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.1117, allocations: 244.5 kB / 292.9 MB, free: 6.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.1118, allocations: 16 kB / 292.9 MB, free: 6.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.112, allocations: 334.8 kB / 293.3 MB, free: 5.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008293/0.1129, allocations: 265.9 kB / 293.5 MB, free: 5.727 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.1141, allocations: 0.5919 MB / 294.1 MB, free: 5.008 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009508/0.1151, allocations: 395.9 kB / 294.5 MB, free: 4.605 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.166e-06/0.1151, allocations: 4 kB / 294.5 MB, free: 4.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002383/0.1175, allocations: 0.9047 MB / 295.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.1176, allocations: 85.09 kB / 295.5 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.1177, allocations: 4 kB / 295.5 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/0.1181, allocations: 128.2 kB / 295.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/0.119, allocations: 151.8 kB / 295.8 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1805/0.2995, allocations: 6.97 MB / 302.7 MB, free: 26.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.3008, allocations: 118.4 kB / 302.8 MB, free: 26.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/0.3009, allocations: 29.09 kB / 302.9 MB, free: 26.37 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000488/0.3014, allocations: 238 kB / 303.1 MB, free: 26.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.3016, allocations: 100.3 kB / 303.2 MB, free: 26.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.3019, allocations: 100.2 kB / 303.3 MB, free: 26.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.3019, allocations: 13.23 kB / 303.3 MB, free: 26.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3019, allocations: 0.7031 kB / 303.3 MB, free: 26.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00188/0.3038, allocations: 0.9784 MB / 304.3 MB, free: 25.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004035/0.3079, allocations: 1.728 MB / 306 MB, free: 24.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.655e-06/0.3079, allocations: 1.156 kB / 306 MB, free: 24.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.309, allocations: 158.9 kB / 306.2 MB, free: 24.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.3092, allocations: 29.42 kB / 306.2 MB, free: 24.97 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.3092, allocations: 18.92 kB / 306.2 MB, free: 24.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.3105, allocations: 1.457 MB / 307.7 MB, free: 23.53 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.508e-06/0.3105, allocations: 9.875 kB / 307.7 MB, free: 23.53 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.3135, allocations: 1.089 MB / 308.8 MB, free: 23.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.3138, allocations: 172.4 kB / 309 MB, free: 22.87 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.314, allocations: 19.44 kB / 309 MB, free: 22.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007829/0.3148, allocations: 56.28 kB / 309 MB, free: 22.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.315, allocations: 41.06 kB / 309.1 MB, free: 22.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.3151, allocations: 17.41 kB / 309.1 MB, free: 22.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008838/0.3159, allocations: 0.5237 MB / 309.6 MB, free: 22.6 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.105e-06/0.316, allocations: 0 / 309.6 MB, free: 22.6 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001162/0.3171, allocations: 277.7 kB / 309.9 MB, free: 22.55 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (67): * Single equations (assignments): 66 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.3173, allocations: 133.7 kB / 310 MB, free: 22.45 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.32, allocations: 1.399 MB / 311.4 MB, free: 21.47 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.788e-06/0.32, allocations: 2.859 kB / 311.4 MB, free: 21.47 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.321, allocations: 441.5 kB / 311.8 MB, free: 21.26 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.3224, allocations: 227.4 kB / 312.1 MB, free: 21.18 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.3262, allocations: 1.997 MB / 314.1 MB, free: 19.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.3268, allocations: 0.9827 MB / 315 MB, free: 19.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.3272, allocations: 79.39 kB / 315.1 MB, free: 19.25 MB / 250.7 MB Notification: Performance of SimCode: time 1.689e-06/0.3272, allocations: 0 / 315.1 MB, free: 19.25 MB / 250.7 MB Notification: Performance of Templates: time 0.02808/0.3553, allocations: 22 MB / 337.1 MB, free: 1.176 MB / 250.7 MB