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.005183/0.005188, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.00109/0.001089, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001984/0.001984, allocations: 53.52 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.127, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006191/0.1333, allocations: 5.595 MB / 378.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.1362, allocations: 1.461 MB / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.1367, allocations: 8 kB / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.1373, allocations: 198.3 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007888/0.1381, allocations: 384.7 kB / 380.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.1387, allocations: 263.6 kB / 381.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1401, allocations: 1.355 MB / 382.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.1406, allocations: 411.1 kB / 382.8 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.1412, allocations: 0.5138 MB / 383.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.1418, allocations: 0.5874 MB / 383.9 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.142, allocations: 120 kB / 384 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.1421, allocations: 120 kB / 384.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.1424, allocations: 247.2 kB / 384.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.1429, allocations: 0.6144 MB / 385 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1442, allocations: 1.405 MB / 386.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1442, allocations: 3.938 kB / 386.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1442, allocations: 0 / 386.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1442, allocations: 0 / 386.4 MB, free: 3.965 MB / 318.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.002626/0.1468, allocations: 1.481 MB / 387.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1469, allocations: 8.031 kB / 387.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.1471, allocations: 123.6 kB / 388 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.1481, allocations: 0.6343 MB / 388.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.1483, allocations: 151.6 kB / 388.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.1485, allocations: 72.38 kB / 388.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.15, allocations: 0.9782 MB / 389.9 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.15, allocations: 0 / 389.9 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/0.1501, allocations: 47.92 kB / 389.9 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1501, allocations: 16 kB / 389.9 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1514, allocations: 0.6169 MB / 390.5 MB, free: 15.59 MB / 334.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.003975/0.1554, allocations: 2.624 MB / 393.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/0.158, allocations: 0.8649 MB / 394 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.1587, allocations: 350.7 kB / 394.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.1588, allocations: 20.56 kB / 394.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.1588, allocations: 47.22 kB / 394.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.174e-06/0.1588, allocations: 0 / 394.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002672/0.1615, allocations: 1.405 MB / 395.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003889/0.1619, allocations: 0.9489 MB / 396.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009744/0.1629, allocations: 0.7941 MB / 397.6 MB, free: 8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-05/0.163, allocations: 41.7 kB / 397.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.1633, allocations: 404.6 kB / 398 MB, free: 7.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.1636, allocations: 256.3 kB / 398.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.1638, allocations: 162.6 kB / 398.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.164, allocations: 334 kB / 398.8 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.1646, allocations: 253.9 kB / 399 MB, free: 6.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/0.1654, allocations: 0.5841 MB / 399.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.1667, allocations: 0.664 MB / 400.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1667, allocations: 3.938 kB / 400.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001772/0.1685, allocations: 0.9507 MB / 401.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.1686, allocations: 89.09 kB / 401.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1686, allocations: 4.125 kB / 401.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.1689, allocations: 124.2 kB / 401.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.1697, allocations: 151.8 kB / 401.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.1757, allocations: 7.329 MB / 408.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.1769, allocations: 107.1 kB / 409 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/0.177, allocations: 24 kB / 409 MB, free: 11.59 MB / 350.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.0004578/0.1775, allocations: 237.7 kB / 409.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.1777, allocations: 98.88 kB / 409.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.1779, allocations: 112.8 kB / 409.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1779, allocations: 8 kB / 409.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.1779, allocations: 3.984 kB / 409.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/0.1795, allocations: 0.9661 MB / 410.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.1823, allocations: 1.752 MB / 412.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1823, allocations: 0 / 412.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.1831, allocations: 151.8 kB / 412.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.1833, allocations: 32.83 kB / 412.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.1833, allocations: 12 kB / 412.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.1844, allocations: 1.407 MB / 413.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1844, allocations: 0 / 413.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.1864, allocations: 1.077 MB / 414.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.1868, allocations: 259.7 kB / 415.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.1869, allocations: 23.98 kB / 415.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.1876, allocations: 39.97 kB / 415.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1877, allocations: 48.53 kB / 415.2 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.1878, allocations: 16 kB / 415.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006927/0.1885, allocations: 0.5459 MB / 415.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1885, allocations: 0 / 415.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007857/0.1893, allocations: 295.6 kB / 416.1 MB, free: 4.156 MB / 350.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.0001682/0.1894, allocations: 127.1 kB / 416.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.1916, allocations: 1.394 MB / 417.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1916, allocations: 0 / 417.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006914/0.1923, allocations: 426.3 kB / 418 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.1935, allocations: 283.2 kB / 418.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.1963, allocations: 1.676 MB / 420 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.1968, allocations: 0.9797 MB / 421 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004878/0.1973, allocations: 127.5 kB / 421.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.1975, allocations: 79.42 kB / 421.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1975, allocations: 4 kB / 421.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Templates: time 0.03142/0.2289, allocations: 17.81 MB / 439 MB, free: 13.05 MB / 382.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)