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.662/1.662, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.773e-05, allocations: 4 kB / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3002, allocations: 38.77 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.4108, allocations: 72.8 MB / 340.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.4111, allocations: 67.97 kB / 340.4 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05792/0.4691, allocations: 13.78 MB / 354.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4691, allocations: 0 / 354.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.382e-05/0.4692, allocations: 12 kB / 354.2 MB, free: 2.605 MB / 298.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.001852/0.471, allocations: 0.8761 MB / 355.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4711, allocations: 15.97 kB / 355.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.4713, allocations: 91 kB / 355.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.4722, allocations: 443.9 kB / 355.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.4725, allocations: 100.4 kB / 355.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.4726, allocations: 51.95 kB / 355.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.4739, allocations: 0.5976 MB / 356.4 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.4739, allocations: 3.906 kB / 356.4 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.474, allocations: 24 kB / 356.4 MB, free: 236 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.474, allocations: 12 kB / 356.4 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1862/0.6603, allocations: 375.5 kB / 356.8 MB, free: 75.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/0.665, allocations: 1.863 MB / 358.7 MB, free: 75.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.6673, allocations: 0.6753 MB / 359.3 MB, free: 75.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.6679, allocations: 228.6 kB / 359.6 MB, free: 75.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.6679, allocations: 13.25 kB / 359.6 MB, free: 75.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.668, allocations: 46.06 kB / 359.6 MB, free: 75.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 4.71e-06/0.668, allocations: 0 / 359.6 MB, free: 75.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.002324/0.6703, allocations: 0.7011 MB / 360.3 MB, free: 74.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.6705, allocations: 0.5738 MB / 360.9 MB, free: 74.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/0.6712, allocations: 457.2 kB / 361.3 MB, free: 74.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/0.6713, allocations: 38.27 kB / 361.4 MB, free: 74.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.6715, allocations: 299.5 kB / 361.7 MB, free: 73.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.6717, allocations: 194.8 kB / 361.9 MB, free: 73.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.6717, allocations: 12.34 kB / 361.9 MB, free: 73.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.6718, allocations: 338.5 kB / 362.2 MB, free: 73.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.6722, allocations: 159.6 kB / 362.4 MB, free: 73.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.6728, allocations: 382.6 kB / 362.7 MB, free: 73.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.6733, allocations: 223.2 kB / 363 MB, free: 73.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.343e-06/0.6733, allocations: 0 / 363 MB, free: 73.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002243/0.6755, allocations: 0.735 MB / 363.7 MB, free: 73.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.6756, allocations: 36.16 kB / 363.7 MB, free: 73.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.987e-06/0.6756, allocations: 2.438 kB / 363.7 MB, free: 73.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.6767, allocations: 206.9 kB / 363.9 MB, free: 73.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009152/0.6777, allocations: 136.4 kB / 364.1 MB, free: 73.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/0.6842, allocations: 5.046 MB / 369.1 MB, free: 68.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000809/0.685, allocations: 79.25 kB / 369.2 MB, free: 68.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.6851, allocations: 23.98 kB / 369.2 MB, free: 68.59 MB / 298.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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.0001796/0.6853, allocations: 148.7 kB / 369.4 MB, free: 68.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.6855, allocations: 69.42 kB / 369.4 MB, free: 68.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.6878, allocations: 0.7393 MB / 370.2 MB, free: 68.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6878, allocations: 7.922 kB / 370.2 MB, free: 68.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6878, allocations: 3.844 kB / 370.2 MB, free: 68.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001932/0.6898, allocations: 0.9918 MB / 371.2 MB, free: 67.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.6931, allocations: 1.449 MB / 372.6 MB, free: 66.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.673e-06/0.6931, allocations: 0 / 372.6 MB, free: 66.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009602/0.6941, allocations: 145.4 kB / 372.8 MB, free: 66.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007779/0.6949, allocations: 153.2 kB / 372.9 MB, free: 66.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.695, allocations: 14.86 kB / 372.9 MB, free: 66.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004751/0.6997, allocations: 3.4 MB / 376.3 MB, free: 63.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.572e-06/0.6998, allocations: 4.062 kB / 376.3 MB, free: 63.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.7023, allocations: 0.9875 MB / 377.3 MB, free: 63.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.7028, allocations: 199.4 kB / 377.5 MB, free: 62.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.7029, allocations: 18.73 kB / 377.5 MB, free: 62.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.7035, allocations: 41.7 kB / 377.6 MB, free: 62.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.7036, allocations: 47.95 kB / 377.6 MB, free: 62.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.7037, allocations: 14.62 kB / 377.6 MB, free: 62.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005349/0.7042, allocations: 365.7 kB / 378 MB, free: 62.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.7042, allocations: 3.781 kB / 378 MB, free: 62.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009191/0.7052, allocations: 220.8 kB / 378.2 MB, free: 62.72 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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.0002056/0.7054, allocations: 129.1 kB / 378.3 MB, free: 62.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.7073, allocations: 0.9148 MB / 379.2 MB, free: 61.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.798e-06/0.7074, allocations: 4 kB / 379.2 MB, free: 61.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.7084, allocations: 0.5061 MB / 379.8 MB, free: 61.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.7094, allocations: 167.1 kB / 379.9 MB, free: 61.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.7117, allocations: 0.9575 MB / 380.9 MB, free: 60.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.7121, allocations: 0.8933 MB / 381.8 MB, free: 59.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.7124, allocations: 62.84 kB / 381.8 MB, free: 59.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.788e-06/0.7124, allocations: 0 / 381.8 MB, free: 59.3 MB / 298.7 MB Notification: Performance of Templates: time 0.01882/0.7312, allocations: 14.28 MB / 396.1 MB, free: 46.56 MB / 298.7 MB