Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001237/0.001237, allocations: 103.2 kB / 16.62 MB, free: 6.805 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.001217/0.001217, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.577/1.577, allocations: 205.1 MB / 223.4 MB, free: 12.36 MB / 190.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.001961/0.001961, allocations: 43.94 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1188, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01006/0.1289, allocations: 5.597 MB / 331.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004005/0.1329, allocations: 1.469 MB / 333.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1345, allocations: 15.94 kB / 333.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.1358, allocations: 151 kB / 333.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.1381, allocations: 329.4 kB / 333.7 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1393, allocations: 231.7 kB / 333.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.1423, allocations: 1.363 MB / 335.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.1434, allocations: 407.1 kB / 335.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.1448, allocations: 0.5099 MB / 336.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.1462, allocations: 0.5797 MB / 336.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.1467, allocations: 119.9 kB / 336.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006344/0.1473, allocations: 124 kB / 337 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.1478, allocations: 247.2 kB / 337.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.1496, allocations: 0.6144 MB / 337.9 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.1519, allocations: 1.39 MB / 339.2 MB, free: 7.578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1519, allocations: 4 kB / 339.2 MB, free: 7.574 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1519, allocations: 0 / 339.2 MB, free: 7.574 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.335e-05/0.152, allocations: 0 / 339.2 MB, free: 7.574 MB / 286.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.004002/0.156, allocations: 1.481 MB / 340.7 MB, free: 6.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1561, allocations: 8.031 kB / 340.7 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.1564, allocations: 131.5 kB / 340.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.1578, allocations: 0.6304 MB / 341.5 MB, free: 5.211 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/0.1581, allocations: 143.7 kB / 341.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.1583, allocations: 72.38 kB / 341.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.1604, allocations: 0.9706 MB / 342.7 MB, free: 3.895 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.1605, allocations: 0 / 342.7 MB, free: 3.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/0.1606, allocations: 39.98 kB / 342.7 MB, free: 3.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.1606, allocations: 16 kB / 342.7 MB, free: 3.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1619, allocations: 0.6207 MB / 343.4 MB, free: 3.223 MB / 286.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.1659, allocations: 2.648 MB / 346 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.1683, allocations: 0.8672 MB / 346.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.169, allocations: 346.7 kB / 347.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.738e-05/0.169, allocations: 24.62 kB / 347.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.1691, allocations: 47.22 kB / 347.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.1691, allocations: 0 / 347.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002547/0.1716, allocations: 1.401 MB / 348.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003632/0.172, allocations: 0.9566 MB / 349.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.1729, allocations: 0.7903 MB / 350.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.173, allocations: 45.7 kB / 350.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.1733, allocations: 408.5 kB / 350.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.1735, allocations: 252.3 kB / 351.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.1738, allocations: 158.7 kB / 351.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1739, allocations: 330 kB / 351.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.1744, allocations: 261.9 kB / 351.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007926/0.1752, allocations: 0.5801 MB / 352.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.1763, allocations: 0.6678 MB / 353.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1764, allocations: 1.641 kB / 353.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001596/0.178, allocations: 0.9547 MB / 354 MB, free: 7.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.178, allocations: 81.11 kB / 354.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.178, allocations: 4 kB / 354.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.1784, allocations: 136.2 kB / 354.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.1791, allocations: 143.8 kB / 354.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.1847, allocations: 7.329 MB / 361.7 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009879/0.1857, allocations: 115.1 kB / 361.8 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.1858, allocations: 20 kB / 361.9 MB, free: 15.2 MB / 318.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.0004334/0.1862, allocations: 237.7 kB / 362.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.1864, allocations: 98.88 kB / 362.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.1866, allocations: 104.9 kB / 362.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1866, allocations: 11.98 kB / 362.3 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.1866, allocations: 0 / 362.3 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/0.188, allocations: 0.9699 MB / 363.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.1906, allocations: 1.754 MB / 365 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1906, allocations: 0 / 365 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007282/0.1914, allocations: 159.8 kB / 365.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-05/0.1915, allocations: 28.84 kB / 365.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.1915, allocations: 16 kB / 365.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008965/0.1924, allocations: 1.403 MB / 366.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1924, allocations: 4.031 kB / 366.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.1942, allocations: 1.072 MB / 367.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.1946, allocations: 255.7 kB / 368 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.1947, allocations: 23.98 kB / 368 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.1954, allocations: 47.91 kB / 368 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.1955, allocations: 44.59 kB / 368.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.1955, allocations: 16 kB / 368.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006225/0.1961, allocations: 0.5498 MB / 368.6 MB, free: 8.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1961, allocations: 0 / 368.6 MB, free: 8.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.1969, allocations: 291.7 kB / 368.9 MB, free: 7.762 MB / 318.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.0001731/0.197, allocations: 123.1 kB / 369 MB, free: 7.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.1993, allocations: 1.432 MB / 370.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.1994, allocations: 4.062 kB / 370.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.2, allocations: 422.3 kB / 370.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.2012, allocations: 283 kB / 371.2 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.2043, allocations: 2.007 MB / 373.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.2049, allocations: 0.9835 MB / 374.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006104/0.2055, allocations: 131.5 kB / 374.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.2058, allocations: 79.42 kB / 374.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2058, allocations: 0 / 374.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of Templates: time 0.2031/0.4089, allocations: 17.56 MB / 391.9 MB, free: 47.47 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)