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.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0902/0.09056, allocations: 44.51 MB / 309.1 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005784/0.0964, allocations: 3.362 MB / 312.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.0995, allocations: 1.151 MB / 313.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005633/0.1001, allocations: 7.938 kB / 313.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.1005, allocations: 87.3 kB / 313.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.1016, allocations: 271.2 kB / 313.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.1023, allocations: 151.7 kB / 314.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.1039, allocations: 0.6085 MB / 314.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.1045, allocations: 192.7 kB / 314.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006549/0.1051, allocations: 303 kB / 315.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000641/0.1058, allocations: 334.6 kB / 315.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.106, allocations: 44 kB / 315.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.1062, allocations: 48 kB / 315.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.1064, allocations: 131.5 kB / 315.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.1066, allocations: 165.3 kB / 315.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.1077, allocations: 0.6234 MB / 316.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1077, allocations: 0 / 316.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1077, allocations: 0 / 316.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.1077, allocations: 0 / 316.5 MB, free: 8.883 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002865/0.1106, allocations: 0.9691 MB / 317.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.1107, allocations: 12.03 kB / 317.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.111, allocations: 87.02 kB / 317.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.112, allocations: 419.8 kB / 318 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.1123, allocations: 100.4 kB / 318.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1125, allocations: 48 kB / 318.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.1144, allocations: 0.6444 MB / 318.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.1145, allocations: 3.984 kB / 318.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.1146, allocations: 24 kB / 318.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1146, allocations: 12 kB / 318.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.1166, allocations: 479.6 kB / 319.3 MB, free: 5.922 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.004902/0.1215, allocations: 1.917 MB / 321.2 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003768/0.1253, allocations: 0.7528 MB / 321.9 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.1255, allocations: 8.438 kB / 322 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.07e-05/0.1256, allocations: 46.98 kB / 322 MB, free: 3.039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 4.258e-06/0.1256, allocations: 0 / 322 MB, free: 3.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.01042/0.136, allocations: 1.595 MB / 323.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003665/0.1364, allocations: 0.5644 MB / 324.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.1376, allocations: 487 kB / 324.6 MB, free: 192 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.1378, allocations: 37.7 kB / 324.7 MB, free: 148 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.1382, allocations: 280.7 kB / 324.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.1386, allocations: 185.2 kB / 325.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.1386, allocations: 8 kB / 325.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.1389, allocations: 370.8 kB / 325.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.1402, allocations: 213 kB / 325.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.1419, allocations: 428.4 kB / 326.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.1435, allocations: 279.9 kB / 326.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.1435, allocations: 0 / 326.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.006651/0.1502, allocations: 0.8537 MB / 327.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.1503, allocations: 29.7 kB / 327.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.1503, allocations: 4.031 kB / 327.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.1528, allocations: 230.3 kB / 327.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.1547, allocations: 131.8 kB / 327.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/0.1718, allocations: 5.325 MB / 333 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.1735, allocations: 83.73 kB / 333 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/0.1736, allocations: 20 kB / 333.1 MB, free: 7.223 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005669/0.1742, allocations: 194 kB / 333.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.1745, allocations: 67.23 kB / 333.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/0.1804, allocations: 0.8161 MB / 334.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005458/0.1859, allocations: 1.086 MB / 335.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.186, allocations: 4.141 kB / 335.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.1866, allocations: 192.1 kB / 335.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.1869, allocations: 23.92 kB / 335.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.1882, allocations: 47.97 kB / 335.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.1885, allocations: 48.48 kB / 335.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006257/0.1947, allocations: 0.8517 MB / 336.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004652/0.1994, allocations: 1.009 MB / 337.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001301/0.2008, allocations: 232.4 kB / 337.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008628/0.2016, allocations: 338.9 kB / 337.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of Backend: time 9.22e-07/0.2017, allocations: 0 / 337.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004655/0.2063, allocations: 0.958 MB / 338.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of SimCode: time 0.004978/0.2114, allocations: 2.043 MB / 340.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of Templates: time 0.03294/0.2443, allocations: 11.09 MB / 352 MB, free: 4.008 MB / 298.7 MB