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.974/1.974, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 12 kB / 263.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08083, allocations: 44.5 MB / 308.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003882/0.08477, allocations: 2.66 MB / 311 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.08646, allocations: 0.8781 MB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.08673, allocations: 11.88 kB / 311.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.08696, allocations: 67.56 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.08743, allocations: 187.5 kB / 312.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.08774, allocations: 91.83 kB / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006448/0.0884, allocations: 431.4 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.08873, allocations: 158.3 kB / 312.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.08901, allocations: 195.3 kB / 313 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.08938, allocations: 239 kB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.08947, allocations: 36 kB / 313.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.08959, allocations: 32 kB / 313.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.08971, allocations: 95.66 kB / 313.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.08987, allocations: 121.5 kB / 313.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.09048, allocations: 474.9 kB / 314 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.031e-06/0.09049, allocations: 0 / 314 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.839e-06/0.09051, allocations: 0 / 314 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.142e-06/0.09052, allocations: 0 / 314 MB, free: 11.36 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001391/0.09192, allocations: 0.73 MB / 314.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.09197, allocations: 12.03 kB / 314.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.09212, allocations: 59.3 kB / 314.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.09278, allocations: 369.7 kB / 315.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.09293, allocations: 66.34 kB / 315.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.09302, allocations: 28 kB / 315.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.09397, allocations: 456.9 kB / 315.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.09401, allocations: 0 / 315.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/0.09409, allocations: 16 kB / 315.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.09412, allocations: 8 kB / 315.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009061/0.09504, allocations: 282.5 kB / 316 MB, free: 9.195 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.002843/0.0979, allocations: 1.283 MB / 317.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.09941, allocations: 440.5 kB / 317.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.09948, allocations: 4 kB / 317.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.09953, allocations: 42.5 kB / 317.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.88e-06/0.09955, allocations: 0 / 317.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001638/0.1012, allocations: 0.6109 MB / 318.3 MB, free: 6.652 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002678/0.1015, allocations: 449 kB / 318.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.1022, allocations: 426 kB / 319.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.1023, allocations: 33.7 kB / 319.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.1025, allocations: 266.9 kB / 319.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.1026, allocations: 110.4 kB / 319.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.1027, allocations: 4 kB / 319.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1029, allocations: 322.9 kB / 319.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.1032, allocations: 120.5 kB / 320 MB, free: 4.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.1038, allocations: 249.4 kB / 320.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.1042, allocations: 163.9 kB / 320.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-06/0.1043, allocations: 0 / 320.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001061/0.1053, allocations: 400.6 kB / 320.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.1054, allocations: 37.66 kB / 320.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.807e-06/0.1054, allocations: 0 / 320.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.1056, allocations: 45.7 kB / 320.9 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.106, allocations: 71.89 kB / 321 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.1094, allocations: 2.768 MB / 323.8 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.11, allocations: 47.72 kB / 323.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.1101, allocations: 15.98 kB / 323.8 MB, free: 0.6953 MB / 266.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 (36): * Single equations (assignments): 33 * 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.0003007/0.1104, allocations: 173.8 kB / 324 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.1105, allocations: 51.39 kB / 324 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.1106, allocations: 48.53 kB / 324.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.186e-06/0.1107, allocations: 0 / 324.1 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.363e-06/0.1107, allocations: 7.984 kB / 324.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/0.1117, allocations: 0.6531 MB / 324.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.1136, allocations: 0.8956 MB / 325.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.524e-06/0.1137, allocations: 7.938 kB / 325.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.1141, allocations: 63.95 kB / 325.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.1142, allocations: 4 kB / 325.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.1142, allocations: 4 kB / 325.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.292e-06/0.1142, allocations: 4 kB / 325.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1142, allocations: 3.938 kB / 325.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.1155, allocations: 0.5427 MB / 326.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.1157, allocations: 128.5 kB / 326.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.681e-05/0.1158, allocations: 8 kB / 326.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.1162, allocations: 19.98 kB / 326.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.1163, allocations: 24.03 kB / 326.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.1164, allocations: 12 kB / 326.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008124/0.1172, allocations: 303.1 kB / 326.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.314e-06/0.1172, allocations: 0 / 326.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006499/0.1179, allocations: 127.8 kB / 326.9 MB, free: 13.42 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 (32): * Single equations (assignments): 32 * 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.0001605/0.118, allocations: 107.2 kB / 327 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.1193, allocations: 0.5631 MB / 327.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.603e-06/0.1193, allocations: 0 / 327.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.1197, allocations: 131.8 kB / 327.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.1205, allocations: 121.5 kB / 327.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1226, allocations: 1.059 MB / 328.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.1232, allocations: 0.8158 MB / 329.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.1234, allocations: 43.42 kB / 329.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.522e-06/0.1234, allocations: 0 / 329.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of Templates: time 0.01506/0.1385, allocations: 7.667 MB / 337.4 MB, free: 2.84 MB / 282.7 MB