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.001479/0.001479, allocations: 99.38 kB / 16.5 MB, free: 6.25 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.00154/0.00154, allocations: 192.2 kB / 17.42 MB, free: 5.879 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.509/1.509, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001412/0.001412, allocations: 47.92 kB / 279.3 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09137, allocations: 46.63 MB / 326 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006806/0.09821, allocations: 5.609 MB / 331.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.1012, allocations: 1.465 MB / 333 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009535/0.1022, allocations: 15.94 kB / 333 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007264/0.103, allocations: 151 kB / 333.2 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.1042, allocations: 341.3 kB / 333.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.1049, allocations: 227.8 kB / 333.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.1066, allocations: 1.292 MB / 335 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000505/0.1071, allocations: 372.3 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007947/0.1079, allocations: 486.1 kB / 335.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008884/0.1088, allocations: 0.5562 MB / 336.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003602/0.1092, allocations: 84 kB / 336.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.1097, allocations: 88 kB / 336.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.1099, allocations: 227.2 kB / 336.8 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.1109, allocations: 0.5792 MB / 337.4 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.1123, allocations: 1.351 MB / 338.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1123, allocations: 0 / 338.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1124, allocations: 0 / 338.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.322e-05/0.1124, allocations: 0 / 338.8 MB, free: 8.012 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.003742/0.1162, allocations: 1.485 MB / 340.2 MB, free: 6.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1162, allocations: 12.03 kB / 340.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.1166, allocations: 131.5 kB / 340.4 MB, free: 6.312 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.1178, allocations: 0.6226 MB / 341 MB, free: 5.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.1181, allocations: 151.6 kB / 341.1 MB, free: 5.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.1182, allocations: 68.38 kB / 341.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.1199, allocations: 0.9706 MB / 342.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.12, allocations: 0 / 342.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.1201, allocations: 35.98 kB / 342.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.1201, allocations: 20 kB / 342.2 MB, free: 4.273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.1215, allocations: 0.6246 MB / 342.9 MB, free: 3.652 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.00459/0.1261, allocations: 2.644 MB / 345.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.1288, allocations: 0.8609 MB / 346.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/0.1295, allocations: 354.8 kB / 346.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/0.1296, allocations: 20.56 kB / 346.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.1296, allocations: 51.22 kB / 346.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.1296, allocations: 0 / 346.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002831/0.1325, allocations: 1.412 MB / 348.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000371/0.1329, allocations: 0.9527 MB / 349.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.1339, allocations: 0.7864 MB / 349.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.134, allocations: 45.7 kB / 350 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.1345, allocations: 412.5 kB / 350.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.1348, allocations: 248.3 kB / 350.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.135, allocations: 158.6 kB / 350.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.1353, allocations: 338 kB / 351.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.1358, allocations: 253.9 kB / 351.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008493/0.1367, allocations: 0.5841 MB / 351.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.1379, allocations: 0.6638 MB / 352.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1379, allocations: 0 / 352.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001861/0.1398, allocations: 0.9507 MB / 353.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/0.1399, allocations: 93.09 kB / 353.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1399, allocations: 0 / 353.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.1403, allocations: 132.2 kB / 353.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/0.141, allocations: 147.8 kB / 353.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.1469, allocations: 6.789 MB / 360.7 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.1477, allocations: 107.2 kB / 360.8 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.1478, allocations: 24 kB / 360.8 MB, free: 208 kB / 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.0003861/0.1482, allocations: 241.8 kB / 361.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.1484, allocations: 102.8 kB / 361.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.1486, allocations: 100.9 kB / 361.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1486, allocations: 8 kB / 361.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1486, allocations: 0 / 361.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001313/0.1499, allocations: 0.97 MB / 362.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.1528, allocations: 1.746 MB / 364 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1528, allocations: 0 / 364 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.1536, allocations: 163.7 kB / 364.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/0.1537, allocations: 24.84 kB / 364.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.1538, allocations: 12 kB / 364.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/0.1547, allocations: 1.312 MB / 365.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1547, allocations: 0 / 365.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.1567, allocations: 1.076 MB / 366.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.1571, allocations: 251.8 kB / 366.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.1572, allocations: 24 kB / 366.9 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/0.1579, allocations: 51.89 kB / 366.9 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.158, allocations: 44.53 kB / 366.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.1581, allocations: 16 kB / 367 MB, free: 9.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007048/0.1588, allocations: 0.5498 MB / 367.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1588, allocations: 0 / 367.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008038/0.1596, allocations: 295.6 kB / 367.8 MB, free: 8.867 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.0001577/0.1598, allocations: 131.1 kB / 367.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.1622, allocations: 1.382 MB / 369.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.1623, allocations: 4 kB / 369.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007889/0.1631, allocations: 418.3 kB / 369.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.1645, allocations: 259.4 kB / 370 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.1675, allocations: 2.026 MB / 372 MB, free: 4.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.1681, allocations: 0.9758 MB / 373 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.1687, allocations: 127.5 kB / 373.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.1689, allocations: 75.42 kB / 373.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1689, allocations: 0 / 373.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of Templates: time 0.1807/0.3496, allocations: 16.65 MB / 389.8 MB, free: 48.29 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)