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.001002/0.001002, allocations: 92.14 kB / 16.65 MB, free: 6.59 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.0009132/0.0009138, allocations: 185 kB / 17.57 MB, free: 6.199 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.539/1.539, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004601/0.0004601, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09327, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005082/0.09839, allocations: 5.189 MB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1014, allocations: 1.399 MB / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000776/0.1022, allocations: 19.94 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.1027, allocations: 155 kB / 335.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007868/0.1035, allocations: 333.3 kB / 335.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.104, allocations: 227.8 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.1054, allocations: 1.296 MB / 336.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.1059, allocations: 364.3 kB / 337.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005852/0.1065, allocations: 470.1 kB / 337.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.1072, allocations: 0.5366 MB / 338.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.1073, allocations: 80 kB / 338.3 MB, free: 9.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.1075, allocations: 76 kB / 338.4 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.1076, allocations: 211.2 kB / 338.6 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005495/0.1082, allocations: 0.5887 MB / 339.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1093, allocations: 1.319 MB / 340.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1093, allocations: 0 / 340.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1093, allocations: 0 / 340.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1094, allocations: 3.938 kB / 340.5 MB, free: 7.445 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.002267/0.1116, allocations: 1.298 MB / 341.8 MB, free: 6.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1117, allocations: 11.97 kB / 341.8 MB, free: 6.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.1119, allocations: 127.5 kB / 342 MB, free: 5.938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.1128, allocations: 0.6265 MB / 342.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.113, allocations: 159.6 kB / 342.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.1132, allocations: 76.31 kB / 342.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.1147, allocations: 0.9823 MB / 343.8 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1148, allocations: 0 / 343.8 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.1148, allocations: 36 kB / 343.8 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.1149, allocations: 19.94 kB / 343.9 MB, free: 3.867 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.1161, allocations: 0.6403 MB / 344.5 MB, free: 3.23 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.004061/0.1202, allocations: 2.648 MB / 347.2 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.1227, allocations: 0.8841 MB / 348 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006977/0.1234, allocations: 366.7 kB / 348.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.1235, allocations: 16.56 kB / 348.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1236, allocations: 55.2 kB / 348.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/0.1236, allocations: 0 / 348.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002621/0.1262, allocations: 1.444 MB / 349.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004378/0.1266, allocations: 0.9527 MB / 350.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009691/0.1276, allocations: 0.7864 MB / 351.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.628e-05/0.1277, allocations: 49.7 kB / 351.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.128, allocations: 412.9 kB / 352.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.1283, allocations: 256.3 kB / 352.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.1284, allocations: 61.69 kB / 352.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1285, allocations: 330 kB / 352.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005971/0.1291, allocations: 273.8 kB / 353 MB, free: 10.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/0.13, allocations: 0.5958 MB / 353.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.1312, allocations: 0.6873 MB / 354.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1313, allocations: 4 kB / 354.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001844/0.1331, allocations: 0.9743 MB / 355.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.1332, allocations: 89.09 kB / 355.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1332, allocations: 0 / 355.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.1336, allocations: 128.2 kB / 355.5 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.1342, allocations: 155.8 kB / 355.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/0.1394, allocations: 6.792 MB / 362.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.1406, allocations: 123.1 kB / 362.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.1406, allocations: 20 kB / 362.6 MB, free: 15.7 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.0004362/0.1411, allocations: 237.7 kB / 362.8 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.1412, allocations: 106.8 kB / 362.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.1414, allocations: 97.19 kB / 363 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1414, allocations: 8 kB / 363 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1415, allocations: 11.92 kB / 363 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001363/0.1428, allocations: 0.9973 MB / 364 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.1456, allocations: 1.773 MB / 365.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1457, allocations: 0 / 365.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/0.1464, allocations: 167.8 kB / 365.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.85e-05/0.1465, allocations: 28.84 kB / 366 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.1466, allocations: 12 kB / 366 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008746/0.1475, allocations: 1.304 MB / 367.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1475, allocations: 4.062 kB / 367.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.1495, allocations: 1.111 MB / 368.4 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.1499, allocations: 255.9 kB / 368.7 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.15, allocations: 20 kB / 368.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.1507, allocations: 55.89 kB / 368.7 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.1508, allocations: 48.52 kB / 368.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.1508, allocations: 24 kB / 368.8 MB, free: 9.086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006803/0.1515, allocations: 0.5497 MB / 369.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1515, allocations: 4 kB / 369.4 MB, free: 8.535 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007696/0.1523, allocations: 291.7 kB / 369.6 MB, free: 8.25 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.0001764/0.1525, allocations: 119.1 kB / 369.8 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.1545, allocations: 1.401 MB / 371.2 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.046e-06/0.1545, allocations: 11.86 kB / 371.2 MB, free: 6.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.1552, allocations: 438.4 kB / 371.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.1565, allocations: 263 kB / 371.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.1595, allocations: 2.099 MB / 374 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.16, allocations: 0.9797 MB / 374.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000535/0.1606, allocations: 127.5 kB / 375.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.1608, allocations: 79.42 kB / 375.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1608, allocations: 3.938 kB / 375.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Templates: time 0.1837/0.3445, allocations: 16.52 MB / 391.7 MB, free: 46.98 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)