Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.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.0008062/0.0008063, allocations: 91.45 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.005808/0.005808, allocations: 170.7 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.506/1.506, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.0004877/0.0004879, allocations: 8 kB / 279.4 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.223, allocations: 47.59 MB / 327 MB, free: 1.359 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005079/0.2281, allocations: 5.188 MB / 332.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.2306, allocations: 1.395 MB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.231, allocations: 8.688 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.2314, allocations: 163.7 kB / 333.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007627/0.2322, allocations: 339.6 kB / 334.1 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.2327, allocations: 224 kB / 334.3 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.2342, allocations: 1.295 MB / 335.6 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.2348, allocations: 363.2 kB / 336 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.2353, allocations: 474.1 kB / 336.4 MB, free: 9.922 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.2359, allocations: 0.5289 MB / 337 MB, free: 9.391 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.236, allocations: 80 kB / 337 MB, free: 9.312 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2362, allocations: 80 kB / 337.1 MB, free: 9.234 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.2364, allocations: 219.1 kB / 337.3 MB, free: 9.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.2369, allocations: 0.5848 MB / 337.9 MB, free: 8.426 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.2381, allocations: 1.323 MB / 339.2 MB, free: 7.098 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2381, allocations: 0 / 339.2 MB, free: 7.098 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2381, allocations: 0 / 339.2 MB, free: 7.098 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.2382, allocations: 4 kB / 339.3 MB, free: 7.094 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.002422/0.2406, allocations: 1.294 MB / 340.5 MB, free: 5.727 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.2407, allocations: 8.031 kB / 340.6 MB, free: 5.719 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.2409, allocations: 131.5 kB / 340.7 MB, free: 5.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.242, allocations: 0.6342 MB / 341.3 MB, free: 4.914 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.2422, allocations: 151.7 kB / 341.5 MB, free: 4.75 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2424, allocations: 68.38 kB / 341.5 MB, free: 4.684 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.2441, allocations: 0.9912 MB / 342.5 MB, free: 3.574 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.2441, allocations: 4 kB / 342.5 MB, free: 3.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.2442, allocations: 32 kB / 342.6 MB, free: 3.539 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.2442, allocations: 19.98 kB / 342.6 MB, free: 3.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.2455, allocations: 0.6403 MB / 343.2 MB, free: 2.883 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.004285/0.2498, allocations: 2.648 MB / 345.9 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.2524, allocations: 0.8809 MB / 346.7 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/0.2531, allocations: 366.6 kB / 347.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.468e-05/0.2532, allocations: 16.59 kB / 347.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.2533, allocations: 47.22 kB / 347.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 3.297e-06/0.2533, allocations: 0 / 347.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002761/0.2561, allocations: 1.451 MB / 348.6 MB, free: 13.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004214/0.2565, allocations: 0.9527 MB / 349.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.2575, allocations: 0.7825 MB / 350.4 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/0.2576, allocations: 45.7 kB / 350.4 MB, free: 11.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.258, allocations: 408.5 kB / 350.8 MB, free: 10.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.2582, allocations: 252.4 kB / 351 MB, free: 10.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.2583, allocations: 66 kB / 351.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.2584, allocations: 334 kB / 351.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.259, allocations: 261.9 kB / 351.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.2599, allocations: 0.6036 MB / 352.3 MB, free: 9.105 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2612, allocations: 0.6989 MB / 353 MB, free: 8.375 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2612, allocations: 0 / 353 MB, free: 8.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001835/0.263, allocations: 0.9821 MB / 354 MB, free: 7.352 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.2631, allocations: 85.11 kB / 354.1 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2631, allocations: 0 / 354.1 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.2635, allocations: 124.2 kB / 354.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.2642, allocations: 163.8 kB / 354.3 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/0.2694, allocations: 6.796 MB / 361.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.2704, allocations: 111.3 kB / 361.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.2704, allocations: 24.06 kB / 361.3 MB, free: 15.35 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.0003915/0.2708, allocations: 237.7 kB / 361.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.271, allocations: 106.7 kB / 361.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.2712, allocations: 104.9 kB / 361.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2712, allocations: 8 kB / 361.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.2712, allocations: 0 / 361.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.2727, allocations: 0.9934 MB / 362.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.2754, allocations: 1.781 MB / 364.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2754, allocations: 4 kB / 364.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.2762, allocations: 155.8 kB / 364.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-05/0.2763, allocations: 24.84 kB / 364.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.2764, allocations: 12 kB / 364.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008694/0.2772, allocations: 1.312 MB / 366 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2773, allocations: 0 / 366 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.2793, allocations: 1.111 MB / 367.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.2797, allocations: 255.8 kB / 367.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.2798, allocations: 24 kB / 367.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.2805, allocations: 55.86 kB / 367.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.2807, allocations: 44.53 kB / 367.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.2807, allocations: 20 kB / 367.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00077/0.2815, allocations: 0.5459 MB / 368 MB, free: 8.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2815, allocations: 7.938 kB / 368 MB, free: 8.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007621/0.2823, allocations: 291.7 kB / 368.3 MB, free: 7.918 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.0002216/0.2825, allocations: 123.1 kB / 368.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.2848, allocations: 1.413 MB / 369.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.2848, allocations: 7.859 kB / 369.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007068/0.2856, allocations: 430.6 kB / 370.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.2868, allocations: 263.1 kB / 370.6 MB, free: 5.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.2901, allocations: 2.114 MB / 372.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.2907, allocations: 0.9758 MB / 373.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005391/0.2913, allocations: 127.5 kB / 373.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.2915, allocations: 83.42 kB / 373.8 MB, free: 2.227 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2915, allocations: 3.938 kB / 373.9 MB, free: 2.223 MB / 302.1 MB Notification: Performance of Templates: time 0.02873/0.3203, allocations: 16.52 MB / 390.4 MB, free: 1.672 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)