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.001072/0.001072, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001091/0.001091, allocations: 186.7 kB / 16.25 MB, free: 6.633 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.564/1.564, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001196/0.001196, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2636, allocations: 46.62 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.0071/0.2708, allocations: 5.61 MB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.2742, allocations: 1.451 MB / 331.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.2748, allocations: 14.03 kB / 331.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.2754, allocations: 151.2 kB / 332.1 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009492/0.2763, allocations: 340.1 kB / 332.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.2769, allocations: 228.2 kB / 332.6 MB, free: 11.63 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.2786, allocations: 1.344 MB / 334 MB, free: 10.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006379/0.2792, allocations: 426.4 kB / 334.4 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.2798, allocations: 0.5099 MB / 334.9 MB, free: 10 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.2804, allocations: 0.5835 MB / 335.5 MB, free: 9.418 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.2806, allocations: 116 kB / 335.6 MB, free: 9.305 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2808, allocations: 120 kB / 335.7 MB, free: 9.188 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.281, allocations: 259.1 kB / 336 MB, free: 8.934 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005953/0.2816, allocations: 0.6105 MB / 336.6 MB, free: 8.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.283, allocations: 1.39 MB / 338 MB, free: 6.926 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.283, allocations: 4 kB / 338 MB, free: 6.922 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.283, allocations: 0 / 338 MB, free: 6.922 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.283, allocations: 0 / 338 MB, free: 6.922 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.002665/0.2857, allocations: 1.477 MB / 339.4 MB, free: 5.371 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2857, allocations: 8.031 kB / 339.4 MB, free: 5.363 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.286, allocations: 127.5 kB / 339.6 MB, free: 5.238 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/0.2869, allocations: 0.6343 MB / 340.2 MB, free: 4.562 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.2872, allocations: 147.6 kB / 340.4 MB, free: 4.402 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2873, allocations: 68.38 kB / 340.4 MB, free: 4.336 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.2888, allocations: 0.9795 MB / 341.4 MB, free: 3.238 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.2888, allocations: 0 / 341.4 MB, free: 3.238 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/0.2889, allocations: 36 kB / 341.4 MB, free: 3.203 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.2889, allocations: 16 kB / 341.4 MB, free: 3.188 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.2901, allocations: 0.6168 MB / 342.1 MB, free: 2.574 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.004232/0.2944, allocations: 2.64 MB / 344.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.2969, allocations: 0.8676 MB / 345.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000645/0.2975, allocations: 346.6 kB / 345.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.099e-05/0.2976, allocations: 20.62 kB / 345.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2976, allocations: 55.2 kB / 346 MB, free: 14.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.2977, allocations: 0 / 346 MB, free: 14.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002586/0.3002, allocations: 1.401 MB / 347.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005037/0.3008, allocations: 0.9565 MB / 348.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009601/0.3017, allocations: 0.7865 MB / 349.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.3018, allocations: 45.7 kB / 349.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.3021, allocations: 412.5 kB / 349.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.3024, allocations: 248.3 kB / 349.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.3026, allocations: 158.7 kB / 350 MB, free: 10.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3028, allocations: 330 kB / 350.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.3034, allocations: 257.9 kB / 350.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.3042, allocations: 0.5841 MB / 351.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.3053, allocations: 0.6678 MB / 351.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3054, allocations: 0 / 351.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001703/0.3071, allocations: 0.9526 MB / 352.8 MB, free: 7.117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.3071, allocations: 85.09 kB / 352.8 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3072, allocations: 4 kB / 352.8 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.3075, allocations: 132.2 kB / 353 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.3082, allocations: 151.7 kB / 353.1 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005545/0.3138, allocations: 7.328 MB / 360.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/0.3147, allocations: 99.3 kB / 360.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.3148, allocations: 24 kB / 360.6 MB, free: 14.56 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.000439/0.3152, allocations: 241.6 kB / 360.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.3154, allocations: 102.8 kB / 360.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.3156, allocations: 104.9 kB / 361 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3156, allocations: 8 kB / 361 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.3156, allocations: 0 / 361 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/0.317, allocations: 0.9738 MB / 362 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.3197, allocations: 1.758 MB / 363.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3197, allocations: 0 / 363.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.3205, allocations: 155.8 kB / 363.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.3206, allocations: 32.84 kB / 363.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.3207, allocations: 8 kB / 363.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009407/0.3216, allocations: 1.41 MB / 365.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3216, allocations: 0 / 365.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.3235, allocations: 1.072 MB / 366.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.3238, allocations: 259.7 kB / 366.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.324, allocations: 20 kB / 366.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.3246, allocations: 43.97 kB / 366.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.3247, allocations: 40.59 kB / 366.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.3247, allocations: 23.98 kB / 366.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007176/0.3255, allocations: 0.5459 MB / 367.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3255, allocations: 0 / 367.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000834/0.3263, allocations: 291.7 kB / 367.6 MB, free: 7.125 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.0001848/0.3265, allocations: 123.3 kB / 367.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.3289, allocations: 1.428 MB / 369.2 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.3289, allocations: 8.25 kB / 369.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.3295, allocations: 426.2 kB / 369.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.3308, allocations: 290.7 kB / 369.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.334, allocations: 2.003 MB / 371.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.3346, allocations: 0.9836 MB / 372.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005346/0.3352, allocations: 131.5 kB / 373 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.3354, allocations: 75.44 kB / 373.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3354, allocations: 0 / 373.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of Templates: time 0.02677/0.3621, allocations: 17.56 MB / 390.6 MB, free: 15.9 MB / 334.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)