Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.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.005952/0.005952, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001471/0.001471, allocations: 193.2 kB / 16.67 MB, free: 5.973 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.469 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.001203/0.001203, allocations: 49.2 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/0.09715, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006527/0.1037, allocations: 5.61 MB / 378.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1067, allocations: 1.461 MB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004556/0.1072, allocations: 15.94 kB / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.1078, allocations: 190.3 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008399/0.1087, allocations: 384.7 kB / 380.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.1092, allocations: 267.6 kB / 381.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.1105, allocations: 1.355 MB / 382.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.111, allocations: 415.1 kB / 382.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.1115, allocations: 0.5138 MB / 383.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.1121, allocations: 0.5835 MB / 383.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.1123, allocations: 116 kB / 384 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1125, allocations: 124 kB / 384.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.1127, allocations: 259.1 kB / 384.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000534/0.1132, allocations: 0.6105 MB / 385 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.1145, allocations: 1.402 MB / 386.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1145, allocations: 0 / 386.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1145, allocations: 0 / 386.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.1145, allocations: 4 kB / 386.4 MB, free: 3.969 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.00245/0.117, allocations: 1.481 MB / 387.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.117, allocations: 12.03 kB / 387.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.1172, allocations: 123.6 kB / 388 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.1182, allocations: 0.6265 MB / 388.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.1184, allocations: 155.6 kB / 388.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1185, allocations: 68.38 kB / 388.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.1199, allocations: 0.986 MB / 389.9 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.12, allocations: 0 / 389.9 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.1201, allocations: 32 kB / 389.9 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1201, allocations: 16 kB / 389.9 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1213, allocations: 0.6207 MB / 390.5 MB, free: 15.61 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.003826/0.1252, allocations: 2.632 MB / 393.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.1278, allocations: 0.8609 MB / 394 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006949/0.1285, allocations: 350.6 kB / 394.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/0.1285, allocations: 16.62 kB / 394.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.1286, allocations: 51.22 kB / 394.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/0.1286, allocations: 4 kB / 394.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002744/0.1313, allocations: 1.401 MB / 395.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004412/0.1318, allocations: 0.9489 MB / 396.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1328, allocations: 0.7902 MB / 397.6 MB, free: 8.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.1329, allocations: 45.7 kB / 397.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.1333, allocations: 412.5 kB / 398 MB, free: 7.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.1335, allocations: 248.3 kB / 398.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.1338, allocations: 162.9 kB / 398.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1339, allocations: 330 kB / 398.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/0.1345, allocations: 253.9 kB / 399 MB, free: 6.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008691/0.1354, allocations: 0.5879 MB / 399.6 MB, free: 5.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.1366, allocations: 0.6678 MB / 400.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1366, allocations: 4 kB / 400.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001884/0.1385, allocations: 0.9509 MB / 401.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.1386, allocations: 85.09 kB / 401.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1386, allocations: 4 kB / 401.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/0.139, allocations: 120.2 kB / 401.4 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.1397, allocations: 147.8 kB / 401.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/0.1453, allocations: 7.333 MB / 408.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.1463, allocations: 111.1 kB / 409 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.1464, allocations: 27.94 kB / 409 MB, free: 11.6 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.0004035/0.1468, allocations: 241.6 kB / 409.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.147, allocations: 102.9 kB / 409.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.1472, allocations: 100.9 kB / 409.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1472, allocations: 4 kB / 409.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1472, allocations: 8 kB / 409.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.1486, allocations: 0.97 MB / 410.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.1516, allocations: 1.744 MB / 412.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1516, allocations: 0 / 412.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/0.1524, allocations: 159.8 kB / 412.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.474e-05/0.1525, allocations: 24.84 kB / 412.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.1525, allocations: 16 kB / 412.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009176/0.1535, allocations: 1.403 MB / 413.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1535, allocations: 3.984 kB / 413.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.1554, allocations: 1.077 MB / 414.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.1558, allocations: 259.7 kB / 415.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.156, allocations: 23.94 kB / 415.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.1566, allocations: 39.97 kB / 415.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/0.1567, allocations: 40.59 kB / 415.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.1568, allocations: 23.98 kB / 415.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000702/0.1575, allocations: 0.5459 MB / 415.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1575, allocations: 7.938 kB / 415.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008769/0.1584, 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.0001767/0.1586, allocations: 111.2 kB / 416.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.1606, allocations: 1.394 MB / 417.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1607, allocations: 4 kB / 417.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006713/0.1613, allocations: 434.5 kB / 418 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.1625, allocations: 274.9 kB / 418.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.1653, allocations: 1.668 MB / 420 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.1658, allocations: 0.9797 MB / 420.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000542/0.1664, allocations: 123.5 kB / 421.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.1666, allocations: 79.36 kB / 421.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1666, allocations: 0 / 421.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Templates: time 0.03027/0.1969, allocations: 17.82 MB / 439 MB, free: 13.05 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)