Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3404, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.008761/0.3492, allocations: 3.749 MB / 312.3 MB, free: 8.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004103/0.3534, allocations: 1.221 MB / 313.5 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000815/0.3543, allocations: 11.94 kB / 313.5 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.355, allocations: 99.31 kB / 313.6 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.3567, allocations: 323.1 kB / 314 MB, free: 7.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3578, allocations: 163.7 kB / 314.1 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.3604, allocations: 0.7462 MB / 314.9 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009103/0.3614, allocations: 272.2 kB / 315.1 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009924/0.3624, allocations: 362.8 kB / 315.5 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3637, allocations: 414.4 kB / 315.9 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003299/0.3641, allocations: 60 kB / 315.9 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.3645, allocations: 60 kB / 316 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.3647, allocations: 163.4 kB / 316.2 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.3651, allocations: 197.3 kB / 316.4 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.3666, allocations: 0.7994 MB / 317.2 MB, free: 3.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3666, allocations: 0 / 317.2 MB, free: 3.988 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3666, allocations: 4 kB / 317.2 MB, free: 3.984 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.813e-05/0.3667, allocations: 0 / 317.2 MB, free: 3.984 MB / 250.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.00347/0.3702, allocations: 1.123 MB / 318.3 MB, free: 2.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.3702, allocations: 12.03 kB / 318.3 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004311/0.3707, allocations: 119.7 kB / 318.4 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/0.371, allocations: 106.8 kB / 318.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.3723, allocations: 479.9 kB / 319 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.3727, allocations: 150.4 kB / 319.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.373, allocations: 60 kB / 319.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.3755, allocations: 0.847 MB / 320 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.3755, allocations: 0 / 320 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.3757, allocations: 28 kB / 320.1 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.3757, allocations: 19.94 kB / 320.1 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.3782, allocations: 0.575 MB / 320.7 MB, free: 248 kB / 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.006402/0.3846, allocations: 2.057 MB / 322.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/0.3883, allocations: 1.022 MB / 323.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.3885, allocations: 12.72 kB / 323.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.3886, allocations: 47.22 kB / 323.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 4.408e-06/0.3886, allocations: 5.578 kB / 323.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.009305/0.3979, allocations: 1.827 MB / 325.6 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000472/0.3984, allocations: 0.8195 MB / 326.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3996, allocations: 0.555 MB / 327 MB, free: 9.414 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.3999, allocations: 45.7 kB / 327 MB, free: 9.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.4003, allocations: 333 kB / 327.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004253/0.4007, allocations: 252.2 kB / 327.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.4008, allocations: 12 kB / 327.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.4011, allocations: 390.7 kB / 328 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.4021, allocations: 249.9 kB / 328.3 MB, free: 8.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.4038, allocations: 0.5218 MB / 328.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.4051, allocations: 380 kB / 329.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.4052, allocations: 4 kB / 329.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004735/0.4099, allocations: 1.094 MB / 330.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.4101, allocations: 85.09 kB / 330.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4101, allocations: 3.938 kB / 330.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.4114, allocations: 247.3 kB / 330.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.4126, allocations: 131.8 kB / 330.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.4261, allocations: 6.567 MB / 337.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.4278, allocations: 111.4 kB / 337.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.428, allocations: 27.98 kB / 337.4 MB, free: 14.27 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.000626/0.4286, allocations: 213.7 kB / 337.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.4289, allocations: 83.06 kB / 337.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.4292, allocations: 91.02 kB / 337.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4292, allocations: 4 kB / 337.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.4293, allocations: 4 kB / 337.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00427/0.4335, allocations: 1.237 MB / 339 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006877/0.4405, allocations: 1.859 MB / 340.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.4405, allocations: 7.891 kB / 340.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.4418, allocations: 127.9 kB / 341 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.443, allocations: 210.4 kB / 341.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.4431, allocations: 20 kB / 341.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.4549, allocations: 5.122 MB / 346.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.455, allocations: 3.953 kB / 346.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005552/0.4605, allocations: 1.356 MB / 347.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.4609, allocations: 152.1 kB / 347.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.4612, allocations: 20 kB / 347.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.4625, allocations: 55.95 kB / 348 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.4629, allocations: 52.58 kB / 348 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/0.463, allocations: 19.98 kB / 348 MB, free: 2.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007822/0.4638, allocations: 399.1 kB / 348.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.4638, allocations: 7.875 kB / 348.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001454/0.4653, allocations: 271.7 kB / 348.7 MB, free: 2.34 MB / 282.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.006107/0.4715, allocations: 1.931 MB / 350.6 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.4751, allocations: 1.309 MB / 351.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.4751, allocations: 0 / 351.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.4776, allocations: 0.7613 MB / 352.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.4792, allocations: 182.8 kB / 352.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.4854, allocations: 2.323 MB / 355.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.4861, allocations: 0.9473 MB / 356.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007879/0.487, allocations: 89.31 kB / 356.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006283/0.4876, allocations: 275.3 kB / 356.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4876, allocations: 0 / 356.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0713/0.5589, allocations: 21.03 MB / 377.5 MB, free: 5.258 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003416/0.5593, allocations: 211.1 kB / 377.7 MB, free: 5.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/4.044, allocations: 0 / 377.7 MB, free: 5.02 MB / 314.7 MB