Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 8 kB / 233.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07025/0.07063, allocations: 38.76 MB / 271.9 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005215/0.07589, allocations: 3.358 MB / 275.3 MB, free: 8.84 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.07862, allocations: 1.142 MB / 276.4 MB, free: 7.691 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.07903, allocations: 8 kB / 276.4 MB, free: 7.684 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.07931, allocations: 83.36 kB / 276.5 MB, free: 7.602 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007/0.08002, allocations: 271.2 kB / 276.8 MB, free: 7.336 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.08056, allocations: 143.7 kB / 276.9 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.08159, allocations: 0.6124 MB / 277.5 MB, free: 6.578 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.08199, allocations: 192.7 kB / 277.7 MB, free: 6.387 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.08254, allocations: 322.9 kB / 278 MB, free: 6.07 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005039/0.08307, allocations: 350.6 kB / 278.4 MB, free: 5.727 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.0832, allocations: 48 kB / 278.4 MB, free: 5.68 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.08336, allocations: 52 kB / 278.5 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.08354, allocations: 143.5 kB / 278.6 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.08375, allocations: 157.4 kB / 278.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.08464, allocations: 0.6546 MB / 279.4 MB, free: 4.672 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.08465, allocations: 0 / 279.4 MB, free: 4.672 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.08467, allocations: 0 / 279.4 MB, free: 4.672 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.08469, allocations: 0 / 279.4 MB, free: 4.672 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.002201/0.0869, allocations: 0.9745 MB / 280.4 MB, free: 3.637 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.08695, allocations: 8.031 kB / 280.4 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.08718, allocations: 83.09 kB / 280.5 MB, free: 3.547 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/0.0881, allocations: 455.8 kB / 280.9 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.08832, allocations: 96.41 kB / 281 MB, free: 2.953 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.08845, allocations: 51.89 kB / 281.1 MB, free: 2.902 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.09005, allocations: 0.6561 MB / 281.7 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.0901, allocations: 0 / 281.7 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.09019, allocations: 24 kB / 281.7 MB, free: 2.152 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.09022, allocations: 12 kB / 281.8 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.09171, allocations: 471.7 kB / 282.2 MB, free: 1.676 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.004286/0.09602, allocations: 1.959 MB / 284.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.09859, allocations: 0.7175 MB / 284.9 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/0.09868, allocations: 12.44 kB / 284.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.09875, allocations: 50.94 kB / 285 MB, free: 14.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 4.106e-06/0.09877, allocations: 0 / 285 MB, free: 14.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.006657/0.1054, allocations: 1.59 MB / 286.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003554/0.1058, allocations: 0.5643 MB / 287.1 MB, free: 12.42 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009143/0.1068, allocations: 0.5147 MB / 287.6 MB, free: 11.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.1069, allocations: 37.7 kB / 287.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.1072, allocations: 315.1 kB / 288 MB, free: 11.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.1074, allocations: 181.3 kB / 288.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.1075, allocations: 12 kB / 288.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1077, allocations: 326.8 kB / 288.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007393/0.1084, allocations: 205 kB / 288.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009978/0.1094, allocations: 432.5 kB / 289.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000854/0.1103, allocations: 272 kB / 289.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1103, allocations: 0 / 289.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003071/0.1134, allocations: 0.8151 MB / 290.2 MB, free: 9.215 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.1135, allocations: 29.7 kB / 290.2 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.855e-06/0.1135, allocations: 4 kB / 290.2 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.1148, allocations: 226.4 kB / 290.4 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/0.1157, allocations: 135.8 kB / 290.6 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.1261, allocations: 5.332 MB / 295.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/0.127, allocations: 91.69 kB / 296 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.1271, allocations: 16 kB / 296 MB, free: 2.973 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.0004006/0.1275, allocations: 190 kB / 296.2 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.1277, allocations: 75.23 kB / 296.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/0.1308, allocations: 0.8161 MB / 297.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.1308, allocations: 8 kB / 297.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.354e-06/0.1309, allocations: 4.109 kB / 297.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005158/0.136, allocations: 1.082 MB / 298.2 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1826/0.3187, allocations: 1.536 MB / 299.7 MB, free: 30.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.709e-06/0.3187, allocations: 0 / 299.7 MB, free: 30.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.3199, allocations: 134 kB / 299.8 MB, free: 30.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.3211, allocations: 184.4 kB / 300 MB, free: 30.29 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.3212, allocations: 16.14 kB / 300 MB, free: 30.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006244/0.3275, allocations: 3.591 MB / 303.6 MB, free: 27.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.673e-06/0.3275, allocations: 8.328 kB / 303.6 MB, free: 27.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.3313, allocations: 1.125 MB / 304.8 MB, free: 27.42 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.3317, allocations: 197.2 kB / 305 MB, free: 27.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3319, allocations: 14.34 kB / 305 MB, free: 27.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.3325, allocations: 50.72 kB / 305 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.3327, allocations: 44.86 kB / 305.1 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.3328, allocations: 17.12 kB / 305.1 MB, free: 27.24 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005809/0.3333, allocations: 375.2 kB / 305.4 MB, free: 27.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.379e-06/0.3334, allocations: 1.562 kB / 305.4 MB, free: 27.06 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009182/0.3343, allocations: 209.3 kB / 305.7 MB, free: 27.04 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.3345, allocations: 114.4 kB / 305.8 MB, free: 26.94 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.3373, allocations: 1.077 MB / 306.8 MB, free: 26.34 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.972e-06/0.3374, allocations: 8.906 kB / 306.9 MB, free: 26.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.3387, allocations: 0.5421 MB / 307.4 MB, free: 26.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/0.3397, allocations: 156.8 kB / 307.5 MB, free: 25.97 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.3429, allocations: 1.604 MB / 309.1 MB, free: 25.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.3434, allocations: 0.8978 MB / 310 MB, free: 24.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.3436, allocations: 52.09 kB / 310.1 MB, free: 24.34 MB / 250.7 MB Notification: Performance of SimCode: time 1.7e-06/0.3437, allocations: 0 / 310.1 MB, free: 24.34 MB / 250.7 MB Notification: Performance of Templates: time 0.02047/0.3641, allocations: 14.29 MB / 324.4 MB, free: 14.86 MB / 250.7 MB