Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006078/0.000608, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1023, allocations: 44.5 MB / 308.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005272/0.1076, allocations: 3.744 MB / 312.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1102, allocations: 1.225 MB / 313.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.1106, allocations: 11.94 kB / 313.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1109, allocations: 103.3 kB / 313.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007284/0.1116, allocations: 327 kB / 313.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.1121, allocations: 159.8 kB / 313.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.1132, allocations: 0.7501 MB / 314.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004979/0.1137, allocations: 268.3 kB / 314.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.1142, allocations: 378.8 kB / 315.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.1149, allocations: 434.3 kB / 315.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.115, allocations: 68 kB / 315.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.1152, allocations: 68 kB / 315.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.1154, allocations: 175.4 kB / 316 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1157, allocations: 193.3 kB / 316.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1168, allocations: 0.8416 MB / 317 MB, free: 8.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.687e-06/0.1168, allocations: 0 / 317 MB, free: 8.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.181e-06/0.1168, allocations: 0 / 317 MB, free: 8.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.1168, allocations: 0 / 317 MB, free: 8.273 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002368/0.1192, allocations: 1.135 MB / 318.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1193, allocations: 8.031 kB / 318.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.1195, allocations: 106.9 kB / 318.3 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.1205, allocations: 0.5038 MB / 318.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.1208, allocations: 150.4 kB / 318.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.121, allocations: 63.91 kB / 319 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.1228, allocations: 0.8275 MB / 319.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.1228, allocations: 3.984 kB / 319.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.1229, allocations: 28 kB / 319.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1229, allocations: 16 kB / 319.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.1246, allocations: 0.5634 MB / 320.4 MB, free: 4.641 MB / 266.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.004585/0.1292, allocations: 2.08 MB / 322.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.1317, allocations: 0.9835 MB / 323.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.991e-05/0.1318, allocations: 24.69 kB / 323.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.1319, allocations: 47.16 kB / 323.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 4.233e-06/0.1319, allocations: 0 / 323.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.006257/0.1381, allocations: 1.819 MB / 325.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004771/0.1387, allocations: 0.8234 MB / 326.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.1397, allocations: 0.615 MB / 326.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.1399, allocations: 45.7 kB / 326.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.1402, allocations: 335.6 kB / 327.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.1405, allocations: 244.4 kB / 327.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.1406, allocations: 16 kB / 327.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1408, allocations: 334.8 kB / 327.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007772/0.1416, allocations: 257.8 kB / 328 MB, free: 12.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.1427, allocations: 0.5257 MB / 328.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000912/0.1437, allocations: 383.9 kB / 328.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.556e-06/0.1437, allocations: 0 / 328.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003224/0.1469, allocations: 1.052 MB / 330 MB, free: 10.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.147, allocations: 89.09 kB / 330.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.925e-06/0.1471, allocations: 0 / 330.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009216/0.148, allocations: 247.3 kB / 330.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.1488, allocations: 131.8 kB / 330.5 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.1594, allocations: 6.558 MB / 337 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.1604, allocations: 115.8 kB / 337.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.1605, allocations: 20.16 kB / 337.1 MB, free: 2.719 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (68): * Single equations (assignments): 61 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.161, allocations: 209.8 kB / 337.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.1612, allocations: 95.02 kB / 337.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.1614, allocations: 91 kB / 337.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1615, allocations: 8 kB / 337.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.801e-06/0.1615, allocations: 0 / 337.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003033/0.1645, allocations: 1.241 MB / 338.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004752/0.1693, allocations: 1.874 MB / 340.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.484e-06/0.1693, allocations: 4 kB / 340.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/0.1701, allocations: 127.9 kB / 340.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007749/0.1709, allocations: 218.6 kB / 341 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/0.171, allocations: 15.98 kB / 341 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008817/0.1799, allocations: 5.122 MB / 346.1 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-06/0.1799, allocations: 3.984 kB / 346.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.1839, allocations: 1.355 MB / 347.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.1842, allocations: 168 kB / 347.7 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.1844, allocations: 23.95 kB / 347.7 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/0.1851, allocations: 51.89 kB / 347.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.1853, allocations: 56.58 kB / 347.8 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.1854, allocations: 19.98 kB / 347.8 MB, free: 7.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007421/0.1861, allocations: 435.1 kB / 348.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.1862, allocations: 0 / 348.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001095/0.1873, allocations: 275.7 kB / 348.5 MB, free: 6.719 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (60): * Single equations (assignments): 57 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002099/0.1875, allocations: 127.1 kB / 348.6 MB, free: 6.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.1902, allocations: 1.297 MB / 349.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.257e-06/0.1903, allocations: 8.062 kB / 349.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.1919, allocations: 0.7534 MB / 350.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.1931, allocations: 190.9 kB / 350.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/0.1996, allocations: 1.875 MB / 352.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.2008, allocations: 0.9399 MB / 353.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.2013, allocations: 75.36 kB / 353.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of SimCode: time 2.005e-06/0.2013, allocations: 0 / 353.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of Templates: time 0.2519/0.4533, allocations: 20.16 MB / 373.9 MB, free: 61.73 MB / 314.7 MB