Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009637, allocations: 90.44 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006916/0.006916, allocations: 171.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.000509, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 47.59 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005193/0.255, allocations: 5.184 MB / 332.2 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.2576, allocations: 1.404 MB / 333.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.2579, allocations: 13.22 kB / 333.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.2583, allocations: 154.8 kB / 333.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000729/0.2591, allocations: 335.3 kB / 334.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.2596, allocations: 229.4 kB / 334.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.261, allocations: 1.294 MB / 335.6 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.2615, allocations: 373.3 kB / 336 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.2621, allocations: 466.1 kB / 336.4 MB, free: 9.887 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.2626, allocations: 0.5367 MB / 337 MB, free: 9.348 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.2628, allocations: 76 kB / 337.1 MB, free: 9.273 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.2629, allocations: 76 kB / 337.1 MB, free: 9.199 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2631, allocations: 219.1 kB / 337.3 MB, free: 8.984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.2636, allocations: 0.5848 MB / 337.9 MB, free: 8.391 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2647, allocations: 1.319 MB / 339.2 MB, free: 7.066 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2647, allocations: 0 / 339.2 MB, free: 7.066 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2647, allocations: 4 kB / 339.2 MB, free: 7.062 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2647, allocations: 0 / 339.2 MB, free: 7.062 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002204/0.2669, allocations: 1.291 MB / 340.5 MB, free: 5.699 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.267, allocations: 8.031 kB / 340.5 MB, free: 5.691 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.2672, allocations: 127.5 kB / 340.7 MB, free: 5.566 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008805/0.2681, allocations: 0.6381 MB / 341.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.2683, allocations: 155.7 kB / 341.5 MB, free: 4.715 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.2684, allocations: 72.38 kB / 341.5 MB, free: 4.645 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.27, allocations: 0.9796 MB / 342.5 MB, free: 3.547 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.27, allocations: 0 / 342.5 MB, free: 3.547 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.2701, allocations: 39.94 kB / 342.6 MB, free: 3.508 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.2701, allocations: 19.98 kB / 342.6 MB, free: 3.488 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2715, allocations: 0.648 MB / 343.2 MB, free: 2.844 MB / 270.1 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.00393/0.2754, allocations: 2.644 MB / 345.9 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.278, allocations: 0.8811 MB / 346.7 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007358/0.2788, allocations: 366.5 kB / 347.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.619e-05/0.2788, allocations: 12.66 kB / 347.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.2789, allocations: 47.22 kB / 347.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.885e-06/0.2789, allocations: 4 kB / 347.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002885/0.2818, allocations: 1.444 MB / 348.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000551/0.2823, allocations: 0.9566 MB / 349.6 MB, free: 11.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.2835, allocations: 0.7864 MB / 350.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.2836, allocations: 45.7 kB / 350.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.2839, allocations: 416.5 kB / 350.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.2842, allocations: 240.4 kB / 351 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.2843, allocations: 69.62 kB / 351.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2844, allocations: 333.9 kB / 351.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.285, allocations: 265.9 kB / 351.7 MB, free: 9.793 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009112/0.2859, allocations: 0.6036 MB / 352.3 MB, free: 9.066 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.2872, allocations: 0.6913 MB / 353 MB, free: 8.344 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2872, allocations: 7.938 kB / 353 MB, free: 8.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001833/0.289, allocations: 0.9743 MB / 354 MB, free: 7.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.2891, allocations: 81.11 kB / 354 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2891, allocations: 8 kB / 354.1 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.2895, allocations: 124.2 kB / 354.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.2902, allocations: 159.8 kB / 354.3 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005327/0.2955, allocations: 6.804 MB / 361.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008813/0.2964, allocations: 115.3 kB / 361.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.2965, allocations: 24 kB / 361.3 MB, free: 15.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003891/0.2969, allocations: 233.7 kB / 361.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.297, allocations: 110.7 kB / 361.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.2972, allocations: 100.9 kB / 361.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.2972, allocations: 8 kB / 361.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2973, allocations: 0 / 361.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.2987, allocations: 0.9935 MB / 362.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.3014, allocations: 1.781 MB / 364.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3015, allocations: 0 / 364.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.3022, allocations: 159.8 kB / 364.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-05/0.3023, allocations: 28.84 kB / 364.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.3024, allocations: 15.98 kB / 364.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008544/0.3033, allocations: 1.308 MB / 366 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3033, allocations: 4.031 kB / 366 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.3053, allocations: 1.107 MB / 367.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.3056, allocations: 251.8 kB / 367.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.3057, allocations: 20 kB / 367.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.3064, allocations: 55.88 kB / 367.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.3065, allocations: 52.47 kB / 367.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.3066, allocations: 19.98 kB / 367.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006654/0.3072, allocations: 0.5459 MB / 368 MB, free: 8.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3073, allocations: 0 / 368 MB, free: 8.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000724/0.308, allocations: 291.7 kB / 368.3 MB, free: 7.883 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001519/0.3081, allocations: 123.1 kB / 368.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.3102, allocations: 1.417 MB / 369.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3102, allocations: 3.859 kB / 369.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006954/0.3109, allocations: 438.5 kB / 370.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3121, allocations: 263 kB / 370.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.3149, allocations: 2.103 MB / 372.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.3155, allocations: 0.9797 MB / 373.6 MB, free: 2.402 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005071/0.316, allocations: 131.5 kB / 373.8 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.3162, allocations: 79.42 kB / 373.8 MB, free: 2.191 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3162, allocations: 0 / 373.8 MB, free: 2.191 MB / 302.1 MB Notification: Performance of Templates: time 0.02794/0.3442, allocations: 16.53 MB / 390.4 MB, free: 1.629 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)