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.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.732/1.732, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 8 kB / 233.2 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06975/0.07013, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005338/0.07552, allocations: 3.736 MB / 275.7 MB, free: 8.449 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.07837, allocations: 1.213 MB / 276.9 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.07904, allocations: 8 kB / 276.9 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.07938, allocations: 103.3 kB / 277 MB, free: 7.121 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008185/0.08021, allocations: 319.1 kB / 277.3 MB, free: 6.809 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.08077, allocations: 171.7 kB / 277.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.08201, allocations: 0.7346 MB / 278.2 MB, free: 5.902 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.08255, allocations: 272.2 kB / 278.5 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005144/0.08308, allocations: 374.7 kB / 278.8 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.08371, allocations: 434.3 kB / 279.2 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.08388, allocations: 71.94 kB / 279.3 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.08408, allocations: 64 kB / 279.4 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.08428, allocations: 171.4 kB / 279.5 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.08454, allocations: 197.3 kB / 279.7 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.08564, allocations: 0.8416 MB / 280.6 MB, free: 3.488 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.889e-06/0.08566, allocations: 0 / 280.6 MB, free: 3.488 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.735e-06/0.08568, allocations: 0 / 280.6 MB, free: 3.488 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.0857, allocations: 3.938 kB / 280.6 MB, free: 3.484 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002416/0.08813, allocations: 1.131 MB / 281.7 MB, free: 2.285 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.08818, allocations: 12.03 kB / 281.7 MB, free: 2.273 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.08844, allocations: 98.97 kB / 281.8 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.08948, allocations: 0.5038 MB / 282.3 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.08977, allocations: 150.4 kB / 282.5 MB, free: 1.465 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.08993, allocations: 56 kB / 282.5 MB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.09172, allocations: 0.8392 MB / 283.4 MB, free: 480 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.09177, allocations: 0 / 283.4 MB, free: 480 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.09187, allocations: 28 kB / 283.4 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.0919, allocations: 12 kB / 283.4 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.0936, allocations: 0.5711 MB / 284 MB, free: 15.86 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.004588/0.09821, allocations: 2.069 MB / 286 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.1007, allocations: 0.993 MB / 287 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.654e-05/0.1008, allocations: 12.72 kB / 287.1 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.1008, allocations: 47.22 kB / 287.1 MB, free: 12.55 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 4.187e-06/0.1009, allocations: 0.5469 kB / 287.1 MB, free: 12.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.006202/0.1071, allocations: 1.83 MB / 288.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004902/0.1076, allocations: 0.8273 MB / 289.8 MB, free: 9.605 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1087, allocations: 0.6018 MB / 290.4 MB, free: 8.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.1088, allocations: 45.7 kB / 290.4 MB, free: 8.941 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.1092, allocations: 335.6 kB / 290.7 MB, free: 8.609 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.1095, allocations: 252.3 kB / 291 MB, free: 8.359 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.1096, allocations: 12 kB / 291 MB, free: 8.348 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1098, allocations: 350.8 kB / 291.3 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/0.1106, allocations: 245.9 kB / 291.6 MB, free: 7.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.1117, allocations: 0.5256 MB / 292.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009153/0.1126, allocations: 383.9 kB / 292.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.1127, allocations: 0 / 292.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003288/0.116, allocations: 1.044 MB / 293.5 MB, free: 5.656 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.1161, allocations: 85.11 kB / 293.6 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.79e-06/0.1161, allocations: 0 / 293.6 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009263/0.117, allocations: 251.2 kB / 293.8 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.1178, allocations: 127.9 kB / 294 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2567/0.3745, allocations: 6.567 MB / 300.5 MB, free: 27.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.3768, allocations: 108.3 kB / 300.6 MB, free: 27.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.377, allocations: 29.94 kB / 300.7 MB, free: 27.96 MB / 250.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.0009533/0.378, allocations: 214.5 kB / 300.9 MB, free: 27.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.3784, allocations: 84.83 kB / 301 MB, free: 27.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.3789, allocations: 87.08 kB / 301 MB, free: 27.83 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.3789, allocations: 10.66 kB / 301.1 MB, free: 27.83 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.3789, allocations: 0.6562 kB / 301.1 MB, free: 27.83 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006382/0.3853, allocations: 1.243 MB / 302.3 MB, free: 27.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.3957, allocations: 1.866 MB / 304.2 MB, free: 26.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.3958, allocations: 0 / 304.2 MB, free: 26.76 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.011/0.4068, allocations: 133.2 kB / 304.3 MB, free: 26.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.4085, allocations: 212.4 kB / 304.5 MB, free: 26.69 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.4087, allocations: 13.38 kB / 304.5 MB, free: 26.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02671/0.4354, allocations: 5.124 MB / 309.6 MB, free: 22.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.277e-06/0.4355, allocations: 0 / 309.6 MB, free: 22.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008554/0.4441, allocations: 1.361 MB / 311 MB, free: 21.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.4446, allocations: 168.6 kB / 311.2 MB, free: 21.61 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/0.445, allocations: 18.14 kB / 311.2 MB, free: 21.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/0.4479, allocations: 54.09 kB / 311.2 MB, free: 21.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/0.4484, allocations: 55.39 kB / 311.3 MB, free: 21.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.4485, allocations: 19.69 kB / 311.3 MB, free: 21.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001602/0.4501, allocations: 438.2 kB / 311.7 MB, free: 21.36 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.387e-06/0.4502, allocations: 0 / 311.7 MB, free: 21.36 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002612/0.4528, allocations: 268 kB / 312 MB, free: 21.32 MB / 250.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.0003423/0.4532, allocations: 128.3 kB / 312.1 MB, free: 21.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003942/0.4572, allocations: 1.301 MB / 313.4 MB, free: 20.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.995e-06/0.4572, allocations: 6.781 kB / 313.4 MB, free: 20.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.4587, allocations: 0.7513 MB / 314.2 MB, free: 19.85 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.4598, allocations: 198.9 kB / 314.4 MB, free: 19.78 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.4634, allocations: 1.903 MB / 316.3 MB, free: 18.63 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.4639, allocations: 0.9498 MB / 317.2 MB, free: 17.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.4642, allocations: 68.42 kB / 317.3 MB, free: 17.91 MB / 250.7 MB Notification: Performance of SimCode: time 1.531e-06/0.4642, allocations: 0 / 317.3 MB, free: 17.91 MB / 250.7 MB Notification: Performance of Templates: time 0.02577/0.49, allocations: 20.12 MB / 337.4 MB, free: 0.5117 MB / 250.7 MB