Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007156/0.007156, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001487/0.001487, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.462/1.462, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001172/0.001172, allocations: 59.14 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00491/0.1144, allocations: 3.481 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1164, allocations: 0.9897 MB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.1166, allocations: 8 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.117, allocations: 111.1 kB / 377.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.1174, allocations: 178.4 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1177, allocations: 127.8 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007583/0.1184, allocations: 0.6418 MB / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.1188, allocations: 194.8 kB / 378.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.1191, allocations: 227.2 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.1194, allocations: 278.8 kB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.174e-05/0.1195, allocations: 56 kB / 379.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1196, allocations: 52 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1198, allocations: 119.6 kB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.1201, allocations: 294.6 kB / 379.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007631/0.1208, allocations: 0.6459 MB / 380.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1209, allocations: 0 / 380.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1209, allocations: 4 kB / 380.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1209, allocations: 0 / 380.5 MB, free: 9.902 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00138/0.1223, allocations: 0.8464 MB / 381.4 MB, free: 9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1223, allocations: 16.03 kB / 381.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1224, allocations: 68.56 kB / 381.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.123, allocations: 395 kB / 381.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.1232, allocations: 58.91 kB / 381.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.1233, allocations: 44.27 kB / 382 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.1241, allocations: 453.1 kB / 382.4 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1241, allocations: 0 / 382.4 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.1241, allocations: 20 kB / 382.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1242, allocations: 8 kB / 382.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/0.1248, allocations: 282.4 kB / 382.7 MB, free: 7.582 MB / 318.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.002173/0.127, allocations: 1.291 MB / 384 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.1282, allocations: 441.5 kB / 384.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.1285, allocations: 140.8 kB / 384.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.1285, allocations: 7.984 kB / 384.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.1286, allocations: 38.56 kB / 384.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.1286, allocations: 0 / 384.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001179/0.1298, allocations: 0.6104 MB / 385.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003515/0.1301, allocations: 445 kB / 385.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/0.1307, allocations: 457.8 kB / 386.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.1307, allocations: 33.7 kB / 386.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1309, allocations: 232.7 kB / 386.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.131, allocations: 115 kB / 386.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1312, allocations: 82.02 kB / 386.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002906/0.1315, allocations: 354.8 kB / 386.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1317, allocations: 104.6 kB / 387 MB, free: 2.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.1321, allocations: 256 kB / 387.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.1325, allocations: 272.7 kB / 387.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1326, allocations: 3.938 kB / 387.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007259/0.1333, allocations: 425.2 kB / 387.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.1333, allocations: 33.7 kB / 388 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1334, allocations: 0 / 388 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.1335, allocations: 45.69 kB / 388 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.1338, allocations: 67.91 kB / 388.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.1367, allocations: 2.98 MB / 391.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.1371, allocations: 43.77 kB / 391.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.1372, allocations: 16 kB / 391.1 MB, free: 14.47 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.1374, allocations: 165.8 kB / 391.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/0.1375, allocations: 51.72 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1376, allocations: 48.7 kB / 391.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1376, allocations: 4 kB / 391.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1376, allocations: 3.938 kB / 391.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007973/0.1384, allocations: 0.6503 MB / 392 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.1399, allocations: 0.9003 MB / 392.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1399, allocations: 3.938 kB / 392.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.1402, allocations: 67.89 kB / 393 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1402, allocations: 3.938 kB / 393 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.1403, allocations: 11.98 kB / 393 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1403, allocations: 0 / 393 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1403, allocations: 4 kB / 393 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.1412, allocations: 0.5163 MB / 393.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.1413, allocations: 172.6 kB / 393.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/0.1414, allocations: 12 kB / 393.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.1417, allocations: 15.98 kB / 393.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1418, allocations: 24.03 kB / 393.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1418, allocations: 8 kB / 393.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003492/0.1422, allocations: 315.1 kB / 394.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1422, allocations: 4 kB / 394.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.1426, allocations: 128 kB / 394.2 MB, free: 11.17 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.1428, allocations: 111.1 kB / 394.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009968/0.1438, allocations: 0.563 MB / 394.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1438, allocations: 4 kB / 394.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.144, allocations: 124.4 kB / 395 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.1447, allocations: 134 kB / 395.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1463, allocations: 0.8901 MB / 396 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1467, allocations: 0.8159 MB / 396.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.147, allocations: 64.36 kB / 396.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1471, allocations: 35.44 kB / 396.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1471, allocations: 0 / 396.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of Templates: time 0.01439/0.1615, allocations: 8.197 MB / 405.1 MB, free: 112 kB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)