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.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 1.854/1.854, allocations: 194.8 MB / 211.6 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003575, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.08413, allocations: 44.5 MB / 308.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004043/0.08822, allocations: 2.81 MB / 311.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.08993, allocations: 0.9131 MB / 312.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.09015, allocations: 11.94 kB / 312.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.09038, allocations: 67.45 kB / 312.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.09088, allocations: 203.4 kB / 312.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.09116, allocations: 83.91 kB / 312.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006839/0.09186, allocations: 463.4 kB / 312.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.09217, allocations: 146.1 kB / 313 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.09249, allocations: 215.2 kB / 313.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.09287, allocations: 259 kB / 313.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.763e-05/0.09298, allocations: 36 kB / 313.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.0931, allocations: 40 kB / 313.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.09323, allocations: 95.64 kB / 313.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.09339, allocations: 129.4 kB / 313.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.09405, allocations: 0.4988 MB / 314.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.438e-06/0.09407, allocations: 0 / 314.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.267e-06/0.09408, allocations: 0 / 314.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.013e-06/0.0941, allocations: 3.938 kB / 314.3 MB, free: 11.06 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00159/0.0957, allocations: 0.7922 MB / 315.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.09577, allocations: 8.031 kB / 315.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.09594, allocations: 67.3 kB / 315.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.09678, allocations: 409.6 kB / 315.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.09704, allocations: 90.31 kB / 315.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.09713, allocations: 32 kB / 315.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.0983, allocations: 0.4892 MB / 316.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.09834, allocations: 0 / 316.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.0984, allocations: 16 kB / 316.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.09843, allocations: 8 kB / 316.2 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.09965, allocations: 382.4 kB / 316.6 MB, free: 8.625 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.002624/0.1023, allocations: 1.267 MB / 317.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009794/0.1033, allocations: 403.5 kB / 318.2 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.1034, allocations: 11.94 kB / 318.2 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1034, allocations: 38.56 kB / 318.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.724e-06/0.1034, allocations: 0 / 318.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002292/0.1057, allocations: 0.7908 MB / 319.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002782/0.106, allocations: 445 kB / 319.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.1067, allocations: 437.9 kB / 319.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.1068, allocations: 41.64 kB / 320 MB, free: 4.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1071, allocations: 270.9 kB / 320.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1072, allocations: 118.2 kB / 320.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1073, allocations: 8 kB / 320.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1074, allocations: 326.8 kB / 320.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.108, allocations: 163.9 kB / 320.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.1088, allocations: 298.8 kB / 321.1 MB, free: 3.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.1094, allocations: 211.2 kB / 321.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.1094, allocations: 0 / 321.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001471/0.1109, allocations: 0.4943 MB / 321.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.111, allocations: 29.7 kB / 321.8 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.111, allocations: 0 / 321.8 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.1112, allocations: 57.69 kB / 321.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.1118, allocations: 91.88 kB / 322 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.1152, allocations: 2.767 MB / 324.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.1158, allocations: 67.69 kB / 324.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.1159, allocations: 12 kB / 324.8 MB, free: 15.68 MB / 282.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.0003061/0.1162, allocations: 169.8 kB / 325 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1163, allocations: 47.44 kB / 325.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1165, allocations: 60.61 kB / 325.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.887e-06/0.1165, allocations: 4 kB / 325.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1165, allocations: 3.953 kB / 325.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.1179, allocations: 0.7623 MB / 325.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.1203, allocations: 1.06 MB / 326.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.745e-06/0.1203, allocations: 0 / 326.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.1209, allocations: 95.88 kB / 327 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.1209, allocations: 7.953 kB / 327 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.121, allocations: 7.984 kB / 327 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.121, allocations: 8 kB / 327.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.121, allocations: 0 / 327.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.123, allocations: 0.7102 MB / 327.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.1232, allocations: 128.5 kB / 327.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.442e-05/0.1233, allocations: 15.95 kB / 327.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.1238, allocations: 44.02 kB / 328 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.1239, allocations: 27.83 kB / 328 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.124, allocations: 4 kB / 328 MB, free: 12.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005019/0.1245, allocations: 311.1 kB / 328.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.66e-07/0.1245, allocations: 0 / 328.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006076/0.1251, allocations: 139.8 kB / 328.4 MB, free: 11.88 MB / 282.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.000163/0.1253, allocations: 115.1 kB / 328.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.127, allocations: 0.6761 MB / 329.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.531e-06/0.127, allocations: 4 kB / 329.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.1276, allocations: 199.7 kB / 329.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007349/0.1283, allocations: 121.8 kB / 329.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.1307, allocations: 1.137 MB / 330.7 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.1313, allocations: 0.8313 MB / 331.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.1315, allocations: 47.42 kB / 331.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of SimCode: time 1.498e-06/0.1315, allocations: 0 / 331.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of Templates: time 0.01499/0.1465, allocations: 8.293 MB / 339.8 MB, free: 388 kB / 282.7 MB