Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8 kB / 263.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07785/0.07822, allocations: 44.51 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004956/0.08322, allocations: 3.358 MB / 311.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.08585, allocations: 1.151 MB / 312.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.08621, allocations: 11.88 kB / 312.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.08651, allocations: 95.34 kB / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000671/0.0872, allocations: 271.2 kB / 313.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.08768, allocations: 139.8 kB / 313.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009096/0.08861, allocations: 0.6124 MB / 314 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.08904, allocations: 196.7 kB / 314.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/0.08957, allocations: 318.9 kB / 314.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005139/0.0901, allocations: 350.6 kB / 314.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.09023, allocations: 48 kB / 314.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.09041, allocations: 52 kB / 314.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.09059, allocations: 135.5 kB / 315.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.0908, allocations: 165.3 kB / 315.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008718/0.09169, allocations: 0.6585 MB / 315.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.288e-06/0.09171, allocations: 0 / 315.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.551e-06/0.09172, allocations: 4 kB / 315.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.09174, allocations: 0 / 315.9 MB, free: 9.441 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.002138/0.09389, allocations: 0.9769 MB / 316.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.09394, allocations: 8.031 kB / 316.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.09416, allocations: 87.02 kB / 317 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.09506, allocations: 447.8 kB / 317.4 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.09528, allocations: 100.4 kB / 317.5 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.0954, allocations: 40 kB / 317.5 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.09696, allocations: 0.66 MB / 318.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.097, allocations: 0 / 318.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.09708, allocations: 20 kB / 318.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.09711, allocations: 15.98 kB / 318.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.0986, allocations: 479.6 kB / 318.7 MB, free: 6.445 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.004076/0.1027, allocations: 1.952 MB / 320.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.1052, allocations: 0.7177 MB / 321.4 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.1053, allocations: 12.41 kB / 321.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.1053, allocations: 47 kB / 321.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 3.592e-06/0.1054, allocations: 0 / 321.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.006433/0.1118, allocations: 1.591 MB / 323 MB, free: 1.895 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003459/0.1122, allocations: 0.5644 MB / 323.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/0.1131, allocations: 0.5108 MB / 324.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.485e-05/0.1132, allocations: 41.7 kB / 324.1 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.1135, allocations: 315.1 kB / 324.4 MB, free: 328 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.1137, allocations: 181.3 kB / 324.6 MB, free: 144 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.1137, allocations: 12 kB / 324.6 MB, free: 132 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.114, allocations: 330.8 kB / 324.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.1147, allocations: 213 kB / 325.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009648/0.1157, allocations: 432.4 kB / 325.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.1165, allocations: 264 kB / 325.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1165, allocations: 0 / 325.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003012/0.1195, allocations: 0.8229 MB / 326.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.1196, allocations: 33.7 kB / 326.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.327e-06/0.1196, allocations: 4 kB / 326.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.1209, allocations: 230.3 kB / 326.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/0.1218, allocations: 127.8 kB / 327 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.132, allocations: 5.321 MB / 332.4 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008548/0.1329, allocations: 99.58 kB / 332.5 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.133, allocations: 16 kB / 332.5 MB, free: 7.75 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.0003851/0.1334, allocations: 190 kB / 332.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.1335, allocations: 67.25 kB / 332.7 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.1365, allocations: 0.824 MB / 333.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.1366, allocations: 15.94 kB / 333.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-06/0.1366, allocations: 192 / 333.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002962/0.1396, allocations: 1.078 MB / 334.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.1439, allocations: 1.545 MB / 336.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.249e-06/0.144, allocations: 3.953 kB / 336.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.145, allocations: 139.8 kB / 336.3 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.1461, allocations: 181.5 kB / 336.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.1461, allocations: 8 kB / 336.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007123/0.1533, allocations: 3.599 MB / 340.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.834e-06/0.1533, allocations: 0 / 340.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/0.1571, allocations: 1.128 MB / 341.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.1576, allocations: 200.2 kB / 341.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.1577, allocations: 16 kB / 341.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/0.1583, allocations: 47.95 kB / 341.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.1585, allocations: 40.5 kB / 341.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.1586, allocations: 19.94 kB / 341.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006147/0.1592, allocations: 370.9 kB / 341.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.38e-06/0.1592, allocations: 0 / 341.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009513/0.1602, allocations: 219.7 kB / 342.1 MB, free: 13.56 MB / 298.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.0001852/0.1604, allocations: 119.2 kB / 342.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.1634, allocations: 1.077 MB / 343.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.325e-06/0.1634, allocations: 0 / 343.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.1648, allocations: 0.5435 MB / 343.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.1658, allocations: 162.7 kB / 344 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.169, allocations: 1.561 MB / 345.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.1697, allocations: 0.8956 MB / 346.5 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.17, allocations: 55.42 kB / 346.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of SimCode: time 1.687e-06/0.17, allocations: 0 / 346.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of Templates: time 0.02302/0.193, allocations: 14.31 MB / 360.9 MB, free: 10.73 MB / 314.7 MB