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.006451/0.006451, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001134/0.001134, allocations: 189.3 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.506/1.506, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.00124/0.00124, allocations: 49.98 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007077/0.1107, allocations: 5.591 MB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.1135, allocations: 1.465 MB / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.1139, allocations: 11.94 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.1145, allocations: 198.3 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007701/0.1152, allocations: 388.8 kB / 380.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.1158, allocations: 263.6 kB / 381.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.117, allocations: 1.374 MB / 382.4 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.1176, allocations: 411.1 kB / 382.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.1181, allocations: 0.5099 MB / 383.4 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/0.1187, allocations: 0.5835 MB / 383.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.1188, allocations: 116 kB / 384.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.119, allocations: 120 kB / 384.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.1192, allocations: 263.1 kB / 384.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.1198, allocations: 0.6144 MB / 385 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.121, allocations: 1.394 MB / 386.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.121, allocations: 7.938 kB / 386.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.121, allocations: 0 / 386.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.121, allocations: 0 / 386.4 MB, free: 3.957 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.002355/0.1234, allocations: 1.485 MB / 387.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1234, allocations: 8.031 kB / 387.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.1236, allocations: 123.6 kB / 388.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000915/0.1245, allocations: 0.6382 MB / 388.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.1247, allocations: 155.6 kB / 388.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.1249, allocations: 68.38 kB / 388.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.1262, allocations: 0.9782 MB / 389.9 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1263, allocations: 7.938 kB / 389.9 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.1263, allocations: 35.98 kB / 389.9 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1264, allocations: 16 kB / 390 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.1276, allocations: 0.6208 MB / 390.6 MB, free: 15.58 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.003794/0.1314, allocations: 2.62 MB / 393.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.1338, allocations: 0.8648 MB / 394.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.1345, allocations: 350.7 kB / 394.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.1345, allocations: 12.64 kB / 394.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1346, allocations: 51.22 kB / 394.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.174e-06/0.1346, allocations: 0 / 394.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002437/0.137, allocations: 1.404 MB / 395.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003627/0.1374, allocations: 0.9489 MB / 396.8 MB, free: 8.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.1383, allocations: 0.7941 MB / 397.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.1384, allocations: 45.7 kB / 397.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.1388, allocations: 404.6 kB / 398 MB, free: 7.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.139, allocations: 256.3 kB / 398.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.1392, allocations: 158.6 kB / 398.5 MB, free: 7.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1393, allocations: 334 kB / 398.8 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.1399, allocations: 254.1 kB / 399 MB, free: 6.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008259/0.1407, allocations: 0.5841 MB / 399.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.1419, allocations: 0.6677 MB / 400.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1419, allocations: 0 / 400.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001681/0.1436, allocations: 0.9469 MB / 401.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.1436, allocations: 89.23 kB / 401.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1437, allocations: 11.92 kB / 401.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.144, allocations: 120.2 kB / 401.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.1447, allocations: 147.8 kB / 401.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005396/0.1501, allocations: 7.333 MB / 408.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009534/0.1511, allocations: 103 kB / 409 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.1512, allocations: 28.06 kB / 409 MB, free: 11.59 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.0004151/0.1516, allocations: 241.7 kB / 409.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.1518, allocations: 98.88 kB / 409.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.152, allocations: 104.8 kB / 409.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.152, allocations: 8 kB / 409.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.152, allocations: 3.984 kB / 409.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/0.1534, allocations: 0.9699 MB / 410.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.1561, allocations: 1.748 MB / 412.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1561, allocations: 0 / 412.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.1569, allocations: 151.8 kB / 412.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.157, allocations: 28.83 kB / 412.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.1571, allocations: 16 kB / 412.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.1581, allocations: 1.403 MB / 413.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1581, allocations: 4.062 kB / 413.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.1599, allocations: 1.077 MB / 414.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.1603, allocations: 263.7 kB / 415.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.1604, allocations: 23.98 kB / 415.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/0.161, allocations: 31.97 kB / 415.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.1611, allocations: 48.59 kB / 415.2 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.1612, allocations: 16 kB / 415.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007404/0.1619, allocations: 0.5498 MB / 415.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.585e-06/0.162, allocations: 0 / 415.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009075/0.1629, allocations: 299.5 kB / 416.1 MB, free: 4.148 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.0001752/0.1631, allocations: 123.1 kB / 416.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.1651, allocations: 1.397 MB / 417.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1652, allocations: 0 / 417.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.1658, allocations: 422.3 kB / 418 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.167, allocations: 283.2 kB / 418.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.17, allocations: 1.672 MB / 420 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.1706, allocations: 0.9758 MB / 421 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004886/0.171, allocations: 127.5 kB / 421.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.1713, allocations: 83.42 kB / 421.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1713, allocations: 0 / 421.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Templates: time 0.02933/0.2006, allocations: 17.82 MB / 439 MB, free: 13.04 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)