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.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.711/1.711, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 8 kB / 233.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06897/0.06934, allocations: 38.77 MB / 271.9 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00388/0.07327, allocations: 2.652 MB / 274.6 MB, free: 9.547 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.07503, allocations: 0.8658 MB / 275.4 MB, free: 8.676 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.07529, allocations: 8 kB / 275.4 MB, free: 8.668 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.07552, allocations: 71.5 kB / 275.5 MB, free: 8.598 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.076, allocations: 183.5 kB / 275.7 MB, free: 8.418 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.07629, allocations: 91.77 kB / 275.8 MB, free: 8.328 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.07697, allocations: 427.5 kB / 276.2 MB, free: 7.906 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.0773, allocations: 146.3 kB / 276.3 MB, free: 7.762 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.0776, allocations: 211.2 kB / 276.6 MB, free: 7.555 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.07795, allocations: 231 kB / 276.8 MB, free: 7.328 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.07805, allocations: 36 kB / 276.8 MB, free: 7.293 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.07817, allocations: 32 kB / 276.8 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.0783, allocations: 99.64 kB / 276.9 MB, free: 7.164 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.07845, allocations: 121.5 kB / 277.1 MB, free: 7.039 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006022/0.07907, allocations: 470.9 kB / 277.5 MB, free: 6.578 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.754e-06/0.07909, allocations: 4 kB / 277.5 MB, free: 6.574 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.41e-06/0.0791, allocations: 0 / 277.5 MB, free: 6.574 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.07912, allocations: 0 / 277.5 MB, free: 6.574 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00145/0.08058, allocations: 0.7353 MB / 278.3 MB, free: 5.785 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.08063, allocations: 8.031 kB / 278.3 MB, free: 5.777 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.08079, allocations: 63.28 kB / 278.3 MB, free: 5.715 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.08148, allocations: 361.8 kB / 278.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.08164, allocations: 62.34 kB / 278.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.282e-05/0.08174, allocations: 39.91 kB / 278.8 MB, free: 5.215 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009502/0.0827, allocations: 452.9 kB / 279.2 MB, free: 4.715 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.08274, allocations: 4 kB / 279.2 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.08281, allocations: 19.94 kB / 279.2 MB, free: 4.691 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.08283, allocations: 4 kB / 279.3 MB, free: 4.688 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008095/0.08365, allocations: 286.5 kB / 279.5 MB, free: 4.41 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.002787/0.08646, allocations: 1.275 MB / 280.8 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.08795, allocations: 432.5 kB / 281.2 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.08802, allocations: 7.984 kB / 281.2 MB, free: 2.59 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.08808, allocations: 46.5 kB / 281.3 MB, free: 2.535 MB / 234.7 MB Notification: Performance of pre-optimization done (n=32): time 3.962e-06/0.0881, allocations: 0 / 281.3 MB, free: 2.535 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001626/0.08973, allocations: 0.6063 MB / 281.9 MB, free: 1.879 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000271/0.09002, allocations: 452.9 kB / 282.3 MB, free: 1.332 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.09073, allocations: 430 kB / 282.8 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.0908, allocations: 33.7 kB / 282.8 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.09103, allocations: 258.9 kB / 283 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.09118, allocations: 118.4 kB / 283.2 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.09122, allocations: 4 kB / 283.2 MB, free: 500 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.0914, allocations: 326.8 kB / 283.5 MB, free: 164 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.09176, allocations: 112.5 kB / 283.6 MB, free: 48 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.09231, allocations: 248.2 kB / 283.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.09273, allocations: 163.9 kB / 284 MB, free: 15.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.5e-06/0.09275, allocations: 0 / 284 MB, free: 15.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001048/0.09381, allocations: 396.6 kB / 284.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.09387, allocations: 32.86 kB / 284.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.72e-06/0.0939, allocations: 4 kB / 284.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.09411, allocations: 53.69 kB / 284.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.09453, allocations: 63.91 kB / 284.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.09796, allocations: 2.779 MB / 287.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.09854, allocations: 51.58 kB / 287.4 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.0986, allocations: 8 kB / 287.4 MB, free: 11.91 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 (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.0003012/0.09891, allocations: 169.8 kB / 287.5 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.09905, allocations: 47.44 kB / 287.6 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.09918, allocations: 56.45 kB / 287.6 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.665e-06/0.0992, allocations: 7.953 kB / 287.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.76e-06/0.09921, allocations: 0 / 287.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009773/0.1002, allocations: 0.6504 MB / 288.3 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.1021, allocations: 0.8952 MB / 289.2 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.958e-06/0.1021, allocations: 3.953 kB / 289.2 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.1026, allocations: 71.89 kB / 289.3 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.576e-06/0.1026, allocations: 4 kB / 289.3 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.1026, allocations: 8 kB / 289.3 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1027, allocations: 0 / 289.3 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.173e-06/0.1027, allocations: 0 / 289.3 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.1039, allocations: 0.5267 MB / 289.8 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.1041, allocations: 140.4 kB / 289.9 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.1042, allocations: 8 kB / 289.9 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.1046, allocations: 15.98 kB / 290 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.1047, allocations: 20.36 kB / 290 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.1047, allocations: 7.984 kB / 290 MB, free: 9.078 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004985/0.1052, allocations: 311.2 kB / 290.3 MB, free: 8.773 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.1052, allocations: 0 / 290.3 MB, free: 8.773 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006092/0.1059, allocations: 127.8 kB / 290.4 MB, free: 8.648 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 (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.0001711/0.106, allocations: 108 kB / 290.5 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.1074, allocations: 0.5747 MB / 291.1 MB, free: 7.922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.362e-06/0.1074, allocations: 4 kB / 291.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.1078, allocations: 131.8 kB / 291.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.1086, allocations: 113.4 kB / 291.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1109, allocations: 1.067 MB / 292.4 MB, free: 6.582 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.1114, allocations: 0.82 MB / 293.2 MB, free: 5.734 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1116, allocations: 39.42 kB / 293.3 MB, free: 5.695 MB / 250.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1117, allocations: 0 / 293.3 MB, free: 5.695 MB / 250.7 MB Notification: Performance of Templates: time 0.2058/0.3175, allocations: 7.615 MB / 300.9 MB, free: 30.27 MB / 250.7 MB