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.004956/0.004956, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001093/0.001093, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001205/0.001205, allocations: 54.86 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1018, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007842/0.1097, allocations: 5.595 MB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003909/0.1136, allocations: 1.457 MB / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.1145, allocations: 15.94 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.1151, allocations: 194.3 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008808/0.116, allocations: 380.7 kB / 380.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.1166, allocations: 263.6 kB / 381.1 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.1181, allocations: 1.366 MB / 382.4 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005407/0.1186, allocations: 415.1 kB / 382.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.1192, allocations: 0.5099 MB / 383.3 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.1198, allocations: 0.5913 MB / 383.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.12, allocations: 116 kB / 384 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.1202, allocations: 120 kB / 384.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.1205, allocations: 259.1 kB / 384.4 MB, free: 6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.121, allocations: 0.6105 MB / 385 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.1225, allocations: 1.401 MB / 386.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1225, allocations: 0 / 386.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1225, allocations: 0 / 386.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.1225, allocations: 4 kB / 386.4 MB, free: 3.977 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.002638/0.1252, allocations: 1.515 MB / 387.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1252, allocations: 12.03 kB / 388 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.1255, allocations: 128.2 kB / 388.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.1265, allocations: 0.6466 MB / 388.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.1267, allocations: 155.6 kB / 388.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.1268, allocations: 72.38 kB / 389 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1283, allocations: 0.9744 MB / 389.9 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.1284, allocations: 0 / 389.9 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.1285, allocations: 43.88 kB / 390 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.1285, allocations: 16 kB / 390 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.1298, allocations: 0.6208 MB / 390.6 MB, free: 15.55 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.003882/0.1337, allocations: 2.621 MB / 393.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.1362, allocations: 0.861 MB / 394.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.1369, allocations: 354.7 kB / 394.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.451e-05/0.137, allocations: 16.62 kB / 394.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.137, allocations: 47.22 kB / 394.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.455e-06/0.1371, allocations: 0 / 394.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002568/0.1396, allocations: 1.409 MB / 395.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003658/0.14, allocations: 0.9489 MB / 396.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.141, allocations: 0.7903 MB / 397.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.1411, allocations: 45.7 kB / 397.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.1414, allocations: 417 kB / 398.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.1416, allocations: 269.6 kB / 398.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.1418, allocations: 158.7 kB / 398.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.142, allocations: 330 kB / 398.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.1425, allocations: 257.9 kB / 399.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008303/0.1434, allocations: 0.5802 MB / 399.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.1445, allocations: 0.664 MB / 400.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1446, allocations: 7.938 kB / 400.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001718/0.1463, allocations: 0.9553 MB / 401.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.1464, allocations: 89.05 kB / 401.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1464, allocations: 4 kB / 401.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003411/0.1467, allocations: 132.2 kB / 401.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.1474, allocations: 147.8 kB / 401.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005545/0.153, allocations: 7.337 MB / 409 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.154, allocations: 103.3 kB / 409.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.1541, allocations: 28.06 kB / 409.1 MB, free: 11.52 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.0004323/0.1546, allocations: 233.7 kB / 409.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.1547, allocations: 107.4 kB / 409.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.1549, allocations: 104.9 kB / 409.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1549, allocations: 4 kB / 409.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.155, allocations: 4 kB / 409.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00142/0.1564, allocations: 0.9699 MB / 410.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.1591, allocations: 1.752 MB / 412.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1591, allocations: 0 / 412.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.1598, allocations: 155.8 kB / 412.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.16, allocations: 24.84 kB / 412.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.16, allocations: 19.98 kB / 412.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.161, allocations: 1.411 MB / 413.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1611, allocations: 0 / 413.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.1629, allocations: 1.078 MB / 415 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.1633, allocations: 264.2 kB / 415.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.1635, allocations: 20 kB / 415.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.1641, allocations: 43.95 kB / 415.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.1642, allocations: 40.59 kB / 415.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.1643, allocations: 24 kB / 415.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000673/0.165, allocations: 0.5459 MB / 415.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.165, allocations: 0 / 415.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008533/0.1658, allocations: 295.8 kB / 416.2 MB, free: 4.074 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.0001719/0.166, allocations: 123.1 kB / 416.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.1683, allocations: 1.401 MB / 417.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.1683, allocations: 4 kB / 417.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.169, allocations: 418.3 kB / 418.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.1701, allocations: 279.2 kB / 418.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.173, allocations: 1.713 MB / 420.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.1735, allocations: 0.9797 MB / 421.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005179/0.1741, allocations: 131.5 kB / 421.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.1743, allocations: 79.42 kB / 421.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1743, allocations: 0 / 421.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.03067/0.205, allocations: 17.81 MB / 439.1 MB, free: 12.93 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)