Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.633/1.633, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09847, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.007002/0.1055, allocations: 3.365 MB / 276 MB, free: 8.164 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.1088, allocations: 1.134 MB / 277.1 MB, free: 7.023 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.1091, allocations: 7.938 kB / 277.1 MB, free: 7.016 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.1095, allocations: 83.42 kB / 277.2 MB, free: 6.934 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000959/0.1105, allocations: 275.2 kB / 277.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.1111, allocations: 143.7 kB / 277.6 MB, free: 6.523 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1125, allocations: 0.6201 MB / 278.2 MB, free: 5.898 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.1131, allocations: 196.7 kB / 278.4 MB, free: 5.703 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.1137, allocations: 310.9 kB / 278.7 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.1145, allocations: 330.6 kB / 279.1 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.1146, allocations: 44 kB / 279.1 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.1149, allocations: 44 kB / 279.1 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.1151, allocations: 127.5 kB / 279.3 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.1154, allocations: 161.4 kB / 279.4 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1165, allocations: 0.6235 MB / 280 MB, free: 4.074 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1165, allocations: 0 / 280 MB, free: 4.074 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1166, allocations: 0 / 280 MB, free: 4.074 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.1166, allocations: 0 / 280 MB, free: 4.074 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003303/0.1199, allocations: 0.9691 MB / 281 MB, free: 3.043 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.12, allocations: 8.031 kB / 281 MB, free: 3.035 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.1203, allocations: 79.16 kB / 281.1 MB, free: 2.957 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.1214, allocations: 423.8 kB / 281.5 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.1217, allocations: 96.39 kB / 281.6 MB, free: 2.395 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.1218, allocations: 47.91 kB / 281.7 MB, free: 2.348 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.1242, allocations: 0.66 MB / 282.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.1243, allocations: 0 / 282.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.1244, allocations: 19.98 kB / 282.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.1244, allocations: 12 kB / 282.3 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.1269, allocations: 479.7 kB / 282.8 MB, free: 1.113 MB / 234.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.005918/0.1328, allocations: 1.909 MB / 284.7 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.1375, allocations: 0.7415 MB / 285.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.885e-05/0.1377, allocations: 16.41 kB / 285.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.1378, allocations: 50.95 kB / 285.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 4.338e-06/0.1378, allocations: 0 / 285.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.01227/0.1501, allocations: 1.59 MB / 287.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000381/0.1505, allocations: 0.5644 MB / 287.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.1517, allocations: 487 kB / 288.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.1519, allocations: 41.7 kB / 288.2 MB, free: 11.35 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.1523, allocations: 288.6 kB / 288.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.1526, allocations: 181.3 kB / 288.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.1527, allocations: 12 kB / 288.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.153, allocations: 366.8 kB / 289 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.1542, allocations: 213 kB / 289.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.1558, allocations: 428.5 kB / 289.7 MB, free: 9.797 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.1572, allocations: 264 kB / 289.9 MB, free: 9.535 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1572, allocations: 0 / 289.9 MB, free: 9.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.005515/0.1627, allocations: 0.8576 MB / 290.8 MB, free: 8.652 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.157e-05/0.1628, allocations: 41.59 kB / 290.8 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1629, allocations: 0 / 290.8 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/0.1651, allocations: 222.4 kB / 291 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.1669, allocations: 143.8 kB / 291.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.1832, allocations: 5.321 MB / 296.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.1849, allocations: 95.59 kB / 296.6 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/0.185, allocations: 16 kB / 296.6 MB, free: 2.406 MB / 250.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.0006008/0.1857, allocations: 194 kB / 296.8 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.1859, allocations: 67.25 kB / 296.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005503/0.1915, allocations: 0.8161 MB / 297.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005239/0.1968, allocations: 1.089 MB / 298.8 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.1968, allocations: 0 / 298.8 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2681/0.4649, allocations: 187.6 kB / 298.9 MB, free: 30.78 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.4653, allocations: 16.61 kB / 299 MB, free: 30.78 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.467, allocations: 47.27 kB / 299 MB, free: 30.78 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.4673, allocations: 43.88 kB / 299.1 MB, free: 30.78 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007702/0.475, allocations: 0.8564 MB / 299.9 MB, free: 30.66 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004568/0.4796, allocations: 1.004 MB / 300.9 MB, free: 30.44 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001332/0.481, allocations: 230.8 kB / 301.1 MB, free: 30.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007978/0.4818, allocations: 344.6 kB / 301.5 MB, free: 30.34 MB / 250.7 MB Notification: Performance of Backend: time 8.81e-07/0.4818, allocations: 0 / 301.5 MB, free: 30.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.004612/0.4864, allocations: 0.9521 MB / 302.4 MB, free: 29.87 MB / 250.7 MB Notification: Performance of SimCode: time 0.003345/0.4898, allocations: 2.041 MB / 304.5 MB, free: 28.55 MB / 250.7 MB Notification: Performance of Templates: time 0.02989/0.5198, allocations: 11.03 MB / 315.5 MB, free: 24.33 MB / 250.7 MB