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.TwoMass.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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09493, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006302/0.1013, allocations: 3.835 MB / 312.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.1044, allocations: 1.237 MB / 314.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005191/0.105, allocations: 11.94 kB / 314.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.1054, allocations: 95.28 kB / 314.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.1064, allocations: 327.1 kB / 314.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.107, allocations: 167.7 kB / 314.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.1086, allocations: 0.7536 MB / 315.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000582/0.1092, allocations: 258.6 kB / 315.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.1098, allocations: 366.8 kB / 316.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007333/0.1106, allocations: 430.3 kB / 316.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.1108, allocations: 60 kB / 316.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.1111, allocations: 60 kB / 316.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.1113, allocations: 167.4 kB / 316.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.1116, allocations: 193.3 kB / 317 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.1128, allocations: 0.826 MB / 317.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.547e-05/0.1128, allocations: 0 / 317.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1128, allocations: 0 / 317.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.1128, allocations: 4 kB / 317.8 MB, free: 7.566 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003393/0.1162, allocations: 1.162 MB / 319 MB, free: 6.336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1163, allocations: 8.031 kB / 319 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.1166, allocations: 106.8 kB / 319.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.118, allocations: 0.5076 MB / 319.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005009/0.1185, allocations: 170.4 kB / 319.7 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.1187, allocations: 56 kB / 319.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.1212, allocations: 0.8548 MB / 320.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.1212, allocations: 3.906 kB / 320.7 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.1214, allocations: 28 kB / 320.7 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.1214, allocations: 16 kB / 320.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.124, allocations: 0.6453 MB / 321.3 MB, free: 3.781 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.004979/0.129, allocations: 1.979 MB / 323.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.1315, allocations: 0.8812 MB / 324.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.1316, allocations: 16.64 kB / 324.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.1317, allocations: 47.22 kB / 324.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.577e-06/0.1317, allocations: 0 / 324.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.009925/0.1417, allocations: 1.991 MB / 326.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004175/0.1421, allocations: 0.8272 MB / 327.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1432, allocations: 0.5549 MB / 327.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.1434, allocations: 41.7 kB / 327.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.1438, allocations: 325.1 kB / 328 MB, free: 12.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.1441, allocations: 244.3 kB / 328.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.1442, allocations: 16 kB / 328.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.1444, allocations: 386.7 kB / 328.6 MB, free: 12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.1458, allocations: 309.8 kB / 328.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.1475, allocations: 0.5682 MB / 329.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.1489, allocations: 424.2 kB / 329.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.149, allocations: 0 / 329.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.004957/0.1539, allocations: 1.161 MB / 331.1 MB, free: 9.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/0.1541, allocations: 94.94 kB / 331.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1541, allocations: 0 / 331.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.1552, allocations: 251.2 kB / 331.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.1565, allocations: 151.8 kB / 331.6 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.1692, allocations: 6.57 MB / 338.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.1709, allocations: 131.4 kB / 338.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/0.171, allocations: 20 kB / 338.3 MB, free: 1.625 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 (67): * Single equations (assignments): 60 * 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.0005237/0.1716, allocations: 217.7 kB / 338.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.1718, allocations: 79.06 kB / 338.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.1721, allocations: 95 kB / 338.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00469/0.1768, allocations: 1.327 MB / 340 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.1768, allocations: 0 / 340 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.1772, allocations: 156.1 kB / 340.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.1775, allocations: 12 kB / 340.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.1788, allocations: 83.73 kB / 340.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.179, allocations: 56.56 kB / 340.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006658/0.1857, allocations: 1.143 MB / 341.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00491/0.1907, allocations: 1.307 MB / 342.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001278/0.192, allocations: 329 kB / 343.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007329/0.1927, allocations: 395.1 kB / 343.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Backend: time 3.046e-06/0.1928, allocations: 0 / 343.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003122/0.1959, allocations: 1.19 MB / 344.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of SimCode: time 0.004533/0.2005, allocations: 2.388 MB / 347 MB, free: 8.551 MB / 298.7 MB Notification: Performance of Templates: time 0.04059/0.2411, allocations: 14.51 MB / 361.5 MB, free: 10.09 MB / 314.7 MB