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.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.77/1.77, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07921/0.07961, allocations: 44.5 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4143, allocations: 75.72 MB / 384.2 MB, free: 18.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4145, allocations: 73.98 kB / 384.2 MB, free: 18.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03124/0.4458, allocations: 9.062 MB / 393.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.559e-06/0.4458, allocations: 3.688 kB / 393.3 MB, free: 17.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.4459, allocations: 11.66 kB / 393.3 MB, free: 17.82 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00109/0.447, allocations: 0.7352 MB / 394 MB, free: 17.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.447, allocations: 11.53 kB / 394.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.4472, allocations: 61.28 kB / 394.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.4477, allocations: 370.9 kB / 394.5 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.4478, allocations: 63.2 kB / 394.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.4479, allocations: 30.16 kB / 394.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007803/0.4487, allocations: 446.1 kB / 395 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.4487, allocations: 3.312 kB / 395 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.4488, allocations: 19.09 kB / 395 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4488, allocations: 11.78 kB / 395 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007072/0.4495, allocations: 291.6 kB / 395.3 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.4517, allocations: 1.233 MB / 396.6 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.453, allocations: 447.3 kB / 397 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.4531, allocations: 7.75 kB / 397 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.4531, allocations: 38.41 kB / 397 MB, free: 16.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.025e-06/0.4532, allocations: 0 / 397 MB, free: 16.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001355/0.4545, allocations: 0.621 MB / 397.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.4546, allocations: 444.8 kB / 398.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.4551, allocations: 388.5 kB / 398.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.4552, allocations: 40.67 kB / 398.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4553, allocations: 265 kB / 398.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.4554, allocations: 113.1 kB / 398.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.4555, allocations: 7.25 kB / 398.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.4555, allocations: 324.4 kB / 399.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.4559, allocations: 111.7 kB / 399.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.4563, allocations: 254.4 kB / 399.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.4566, allocations: 166.2 kB / 399.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.668e-06/0.4567, allocations: 0 / 399.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008813/0.4576, allocations: 403.2 kB / 400.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.4576, allocations: 33.17 kB / 400.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.967e-06/0.4576, allocations: 3.938 kB / 400.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.4578, allocations: 47.55 kB / 400.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.4582, allocations: 69.08 kB / 400.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.4606, allocations: 2.777 MB / 403 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.4611, allocations: 49.92 kB / 403.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.4612, allocations: 14.94 kB / 403.1 MB, free: 11.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.4614, allocations: 169.1 kB / 403.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4616, allocations: 46.38 kB / 403.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.4617, allocations: 51.22 kB / 403.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-06/0.4617, allocations: 11.73 kB / 403.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.131e-06/0.4617, allocations: 0 / 403.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007791/0.4625, allocations: 0.6701 MB / 404.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.464, allocations: 0.9062 MB / 405 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-06/0.4641, allocations: 7.953 kB / 405 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.4645, allocations: 75.19 kB / 405 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.385e-06/0.4645, allocations: 3.812 kB / 405 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.4646, allocations: 3.625 kB / 405 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.912e-06/0.4646, allocations: 0 / 405 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.158e-06/0.4646, allocations: 3.812 kB / 405.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4656, allocations: 0.5321 MB / 405.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.4658, allocations: 134.6 kB / 405.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.4659, allocations: 11.08 kB / 405.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.4662, allocations: 14.53 kB / 405.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.4663, allocations: 23.27 kB / 405.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.4663, allocations: 7.312 kB / 405.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003892/0.4667, allocations: 314.8 kB / 406.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.96e-07/0.4667, allocations: 0 / 406.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005686/0.4673, allocations: 137.7 kB / 406.2 MB, free: 10.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.4675, allocations: 113.7 kB / 406.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4685, allocations: 0.5778 MB / 406.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.146e-06/0.4685, allocations: 3.781 kB / 406.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.4689, allocations: 134.6 kB / 407 MB, free: 9.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.4695, allocations: 113.4 kB / 407.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.4714, allocations: 1.079 MB / 408.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.4717, allocations: 0.8179 MB / 409 MB, free: 8.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.4719, allocations: 45.39 kB / 409.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.616e-06/0.4719, allocations: 4 kB / 409.1 MB, free: 8.496 MB / 314.7 MB Notification: Performance of Templates: time 0.01064/0.4825, allocations: 7.674 MB / 416.8 MB, free: 5.734 MB / 314.7 MB