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.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004666, allocations: 12 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09174, allocations: 44.5 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004423/0.09622, allocations: 2.66 MB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.09815, allocations: 0.8858 MB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.09838, allocations: 4 kB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.09863, allocations: 71.5 kB / 312.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.09915, allocations: 183.5 kB / 312.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.09947, allocations: 91.78 kB / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.1002, allocations: 431.5 kB / 313.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.1006, allocations: 146.4 kB / 313.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.1009, allocations: 191.3 kB / 313.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.1013, allocations: 223.1 kB / 313.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.172e-05/0.1014, allocations: 32 kB / 313.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1015, allocations: 32 kB / 314 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1017, allocations: 87.66 kB / 314.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1018, allocations: 125.5 kB / 314.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.1025, allocations: 451 kB / 314.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1025, allocations: 0 / 314.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1025, allocations: 0 / 314.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1025, allocations: 0 / 314.6 MB, free: 10.77 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001646/0.1042, allocations: 0.7299 MB / 315.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1042, allocations: 11.97 kB / 315.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1044, allocations: 63.3 kB / 315.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/0.105, allocations: 341.7 kB / 315.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.1052, allocations: 62.34 kB / 315.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.1053, allocations: 36 kB / 315.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1064, allocations: 452.9 kB / 316.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1064, allocations: 0 / 316.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.1065, allocations: 15.98 kB / 316.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1065, allocations: 8 kB / 316.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.1074, allocations: 290.4 kB / 316.6 MB, free: 8.621 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.002946/0.1104, allocations: 1.244 MB / 317.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.1123, allocations: 440.4 kB / 318.3 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.162e-05/0.1124, allocations: 15.97 kB / 318.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1124, allocations: 38.56 kB / 318.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.484e-06/0.1124, allocations: 0 / 318.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001842/0.1143, allocations: 0.6075 MB / 318.9 MB, free: 6.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002165/0.1145, allocations: 448.9 kB / 319.4 MB, free: 5.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.1152, allocations: 394 kB / 319.8 MB, free: 5.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/0.1153, allocations: 37.8 kB / 319.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.1155, allocations: 224.4 kB / 320 MB, free: 4.906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1157, allocations: 110.4 kB / 320.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.1157, allocations: 12 kB / 320.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1159, allocations: 346.8 kB / 320.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.1163, allocations: 116.6 kB / 320.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.1169, allocations: 248.1 kB / 320.8 MB, free: 4.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.1174, allocations: 163.9 kB / 321 MB, free: 3.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1174, allocations: 0 / 321 MB, free: 3.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001213/0.1187, allocations: 424.3 kB / 321.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.1187, allocations: 41.64 kB / 321.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1188, allocations: 3.938 kB / 321.5 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.119, allocations: 49.7 kB / 321.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.1196, allocations: 67.89 kB / 321.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.1229, allocations: 2.768 MB / 324.3 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.1236, allocations: 51.62 kB / 324.4 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.1237, allocations: 15.98 kB / 324.4 MB, free: 156 kB / 266.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003303/0.124, allocations: 173.8 kB / 324.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.1242, allocations: 47.48 kB / 324.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.1243, allocations: 48.53 kB / 324.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.1254, allocations: 0.6531 MB / 325.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1254, allocations: 4 kB / 325.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.1256, allocations: 124.5 kB / 325.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.1257, allocations: 12 kB / 325.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.1263, allocations: 23.92 kB / 325.5 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.1263, allocations: 15.97 kB / 325.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001268/0.1276, allocations: 380.7 kB / 325.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001455/0.1291, allocations: 0.6085 MB / 326.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003851/0.1295, allocations: 120 kB / 326.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004601/0.13, allocations: 283.1 kB / 326.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of Backend: time 6.81e-07/0.13, allocations: 0 / 326.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.1313, allocations: 0.5498 MB / 327.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of SimCode: time 0.002492/0.1339, allocations: 1.499 MB / 328.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of Templates: time 0.02003/0.1539, allocations: 6.886 MB / 335.8 MB, free: 4.547 MB / 282.7 MB