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.0009585/0.0009586, allocations: 93.38 kB / 16.31 MB, free: 5.578 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.00133/0.001331, allocations: 180.6 kB / 17.21 MB, free: 5.496 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.645/1.645, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0005162/0.0005163, allocations: 11.98 kB / 280.1 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1144, allocations: 47.57 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006237/0.1207, allocations: 4.905 MB / 332.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1239, allocations: 1.345 MB / 334 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.1245, allocations: 15.94 kB / 334 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.1249, allocations: 127 kB / 334.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009242/0.1259, allocations: 333.3 kB / 334.4 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.1264, allocations: 191.8 kB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1277, allocations: 1.207 MB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.1282, allocations: 331.2 kB / 336.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005273/0.1287, allocations: 458.3 kB / 336.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.1293, allocations: 0.5135 MB / 337.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.1294, allocations: 76 kB / 337.2 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1296, allocations: 80 kB / 337.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1298, allocations: 207.2 kB / 337.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.13, allocations: 241.1 kB / 337.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009782/0.131, allocations: 1.02 MB / 338.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.131, allocations: 7.984 kB / 338.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.131, allocations: 4 kB / 338.7 MB, free: 9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1311, allocations: 0 / 338.7 MB, free: 9 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.002249/0.1333, allocations: 1.302 MB / 340 MB, free: 7.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1334, allocations: 8.031 kB / 340 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.1336, allocations: 130.6 kB / 340.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.1344, allocations: 0.5986 MB / 340.8 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.1346, allocations: 155.1 kB / 340.9 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1347, allocations: 72 kB / 341 MB, free: 6.609 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.1363, allocations: 0.9743 MB / 342 MB, free: 5.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1363, allocations: 0 / 342 MB, free: 5.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.1364, allocations: 32 kB / 342 MB, free: 5.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1364, allocations: 16 kB / 342 MB, free: 5.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1377, allocations: 0.6442 MB / 342.7 MB, free: 4.828 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.00392/0.1416, allocations: 2.648 MB / 345.3 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.1441, allocations: 0.8727 MB / 346.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.1448, allocations: 366.9 kB / 346.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.1449, allocations: 16.64 kB / 346.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.1449, allocations: 62.95 kB / 346.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.234e-06/0.145, allocations: 0 / 346.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002683/0.1476, allocations: 1.436 MB / 348 MB, free: 15.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004805/0.1481, allocations: 0.9528 MB / 349 MB, free: 13.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/0.1491, allocations: 0.7824 MB / 349.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.1492, allocations: 45.7 kB / 349.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.1495, allocations: 408.5 kB / 350.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.1498, allocations: 256.3 kB / 350.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.1498, allocations: 12 kB / 350.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.15, allocations: 330 kB / 350.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.1505, allocations: 273.9 kB / 351.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.1514, allocations: 0.588 MB / 351.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.152, allocations: 408 kB / 352.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.152, allocations: 0 / 352.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00169/0.1537, allocations: 0.9742 MB / 353 MB, free: 9.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/0.1538, allocations: 89.09 kB / 353.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1538, allocations: 0 / 353.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.1542, allocations: 128.2 kB / 353.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.1549, allocations: 159.8 kB / 353.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005469/0.1604, allocations: 6.777 MB / 360.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/0.1613, allocations: 115.3 kB / 360.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.1614, allocations: 28 kB / 360.3 MB, free: 1.695 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000401/0.1618, allocations: 237.6 kB / 360.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.162, allocations: 102.9 kB / 360.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.1621, allocations: 104.9 kB / 360.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1622, allocations: 15.95 kB / 360.8 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.1622, allocations: 0 / 360.8 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/0.1635, allocations: 0.9856 MB / 361.8 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.1662, allocations: 1.766 MB / 363.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1663, allocations: 0 / 363.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/0.167, allocations: 163.8 kB / 363.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.1671, allocations: 32.78 kB / 363.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.1672, allocations: 12 kB / 363.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009968/0.1682, allocations: 1.308 MB / 365 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.729e-05/0.1682, allocations: 3.953 kB / 365 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.1704, allocations: 1.103 MB / 366.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.1709, allocations: 259.8 kB / 366.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.171, allocations: 23.95 kB / 366.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.1716, allocations: 47.89 kB / 366.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.1717, allocations: 48.59 kB / 366.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.1717, allocations: 20 kB / 366.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008387/0.1726, allocations: 0.542 MB / 367.1 MB, free: 10.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1726, allocations: 0 / 367.1 MB, free: 10.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009026/0.1735, allocations: 287.7 kB / 367.4 MB, free: 10.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001982/0.1737, allocations: 123.1 kB / 367.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.1759, allocations: 1.413 MB / 368.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.1759, allocations: 3.938 kB / 368.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.1766, allocations: 434.5 kB / 369.3 MB, free: 8.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.178, allocations: 271 kB / 369.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.1817, allocations: 2.014 MB / 371.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.1824, allocations: 0.9797 MB / 372.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007582/0.1832, allocations: 131.5 kB / 372.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.1834, allocations: 79.42 kB / 372.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of SimCode: time 6.733e-06/0.1834, allocations: 0 / 372.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of Templates: time 0.2057/0.3891, allocations: 15.84 MB / 388.6 MB, free: 47.87 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)