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.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 1.657/1.657, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.000354, allocations: 8 kB / 233.1 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06909/0.06947, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004356/0.07388, allocations: 2.806 MB / 274.7 MB, free: 9.383 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.07578, allocations: 0.893 MB / 275.6 MB, free: 8.484 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.07603, allocations: 7.938 kB / 275.6 MB, free: 8.477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.07627, allocations: 71.5 kB / 275.7 MB, free: 8.406 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.07677, allocations: 195.4 kB / 275.9 MB, free: 8.215 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.07707, allocations: 87.83 kB / 276 MB, free: 8.129 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006827/0.07778, allocations: 459.5 kB / 276.4 MB, free: 7.68 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.0781, allocations: 158 kB / 276.6 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.07842, allocations: 215.2 kB / 276.8 MB, free: 7.316 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.07879, allocations: 251 kB / 277 MB, free: 7.07 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/0.0789, allocations: 36 kB / 277.1 MB, free: 7.035 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.07903, allocations: 40 kB / 277.1 MB, free: 6.996 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.07916, allocations: 99.64 kB / 277.2 MB, free: 6.898 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.07932, allocations: 125.5 kB / 277.3 MB, free: 6.77 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.07998, allocations: 0.4949 MB / 277.8 MB, free: 6.273 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.74e-06/0.07999, allocations: 0 / 277.8 MB, free: 6.273 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.163e-06/0.08, allocations: 0 / 277.8 MB, free: 6.273 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.08003, allocations: 0 / 277.8 MB, free: 6.273 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001627/0.08166, allocations: 0.796 MB / 278.6 MB, free: 5.422 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.08172, allocations: 12.03 kB / 278.6 MB, free: 5.41 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.08187, allocations: 59.34 kB / 278.7 MB, free: 5.352 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008318/0.08271, allocations: 409.6 kB / 279.1 MB, free: 4.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.08297, allocations: 90.25 kB / 279.2 MB, free: 4.816 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-05/0.08307, allocations: 32 kB / 279.2 MB, free: 4.785 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.08423, allocations: 0.4892 MB / 279.7 MB, free: 4.238 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.08427, allocations: 0 / 279.7 MB, free: 4.238 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.08433, allocations: 12 kB / 279.7 MB, free: 4.227 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.08435, allocations: 8 kB / 279.7 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.08558, allocations: 386.3 kB / 280.1 MB, free: 3.844 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.002659/0.08826, allocations: 1.267 MB / 281.4 MB, free: 2.484 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.08932, allocations: 407.5 kB / 281.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.08939, allocations: 7.984 kB / 281.8 MB, free: 2.051 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.08945, allocations: 42.56 kB / 281.8 MB, free: 2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 3.376e-06/0.08946, allocations: 3.938 kB / 281.8 MB, free: 1.996 MB / 234.7 MB Notification: Performance of matching and sorting (n=35): time 0.002318/0.09179, allocations: 0.7831 MB / 282.6 MB, free: 1.164 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002754/0.09209, allocations: 448.9 kB / 283 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/0.09282, allocations: 434 kB / 283.5 MB, free: 192 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.0929, allocations: 33.7 kB / 283.5 MB, free: 152 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.09317, allocations: 271 kB / 283.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.09333, allocations: 122.1 kB / 283.9 MB, free: 15.76 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.09337, allocations: 8 kB / 283.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.09355, allocations: 330.8 kB / 284.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.09413, allocations: 159.9 kB / 284.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.09489, allocations: 314.3 kB / 284.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006042/0.09551, allocations: 207.2 kB / 284.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.181e-06/0.09554, allocations: 3.938 kB / 284.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001467/0.09702, allocations: 0.4904 MB / 285.4 MB, free: 14.19 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.09708, allocations: 36.77 kB / 285.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.032e-06/0.0971, allocations: 0 / 285.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.09733, allocations: 57.69 kB / 285.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.09789, allocations: 87.88 kB / 285.5 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.1013, allocations: 2.764 MB / 288.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.1019, allocations: 67.69 kB / 288.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.102, allocations: 12 kB / 288.4 MB, free: 10.88 MB / 250.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.0003148/0.1023, allocations: 177.7 kB / 288.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1025, allocations: 47.44 kB / 288.6 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1026, allocations: 49 kB / 288.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.437e-06/0.1026, allocations: 7.938 kB / 288.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.263e-06/0.1026, allocations: 0 / 288.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001438/0.1041, allocations: 0.782 MB / 289.4 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.1065, allocations: 1.048 MB / 290.5 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.414e-06/0.1065, allocations: 0 / 290.5 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.1071, allocations: 99.88 kB / 290.6 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.931e-06/0.1071, allocations: 0 / 290.6 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.1072, allocations: 15.98 kB / 290.6 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.007e-06/0.1072, allocations: 0 / 290.6 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.439e-06/0.1072, allocations: 3.953 kB / 290.6 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.1091, allocations: 0.7175 MB / 291.3 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.1094, allocations: 128.5 kB / 291.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/0.1095, allocations: 8 kB / 291.5 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.11, allocations: 44.02 kB / 291.5 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.1101, allocations: 19.97 kB / 291.5 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.1101, allocations: 15.95 kB / 291.5 MB, free: 7.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005136/0.1106, allocations: 315.1 kB / 291.8 MB, free: 7.203 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.1107, allocations: 0 / 291.8 MB, free: 7.203 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006062/0.1113, allocations: 131.8 kB / 292 MB, free: 7.074 MB / 250.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 (35): * Single equations (assignments): 35 * 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.0001621/0.1115, allocations: 107.2 kB / 292.1 MB, free: 6.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.1132, allocations: 0.6761 MB / 292.7 MB, free: 6.246 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.282e-06/0.1132, allocations: 0 / 292.7 MB, free: 6.246 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.1138, allocations: 203.8 kB / 292.9 MB, free: 6.047 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.1146, allocations: 119.5 kB / 293.1 MB, free: 5.934 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.1174, allocations: 1.188 MB / 294.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.118, allocations: 0.8354 MB / 295.1 MB, free: 3.848 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.1182, allocations: 39.44 kB / 295.1 MB, free: 3.809 MB / 250.7 MB Notification: Performance of SimCode: time 1.857e-06/0.1182, allocations: 0 / 295.1 MB, free: 3.809 MB / 250.7 MB Notification: Performance of Templates: time 0.183/0.3012, allocations: 8.246 MB / 303.4 MB, free: 29.7 MB / 250.7 MB