Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001039/0.001039, allocations: 91.5 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.001206/0.001206, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.577/1.577, 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.0004537/0.0004539, allocations: 8.375 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004008/0.1085, allocations: 3.141 MB / 331.5 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1107, allocations: 0.9203 MB / 332.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.111, allocations: 8 kB / 332.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.1114, allocations: 91.38 kB / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.1118, allocations: 166.7 kB / 332.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1121, allocations: 103.9 kB / 332.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.1128, allocations: 0.6029 MB / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.1131, allocations: 182.8 kB / 333.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.1133, allocations: 211.1 kB / 333.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.1136, allocations: 250.9 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.076e-05/0.1137, allocations: 32 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.1138, allocations: 40 kB / 334 MB, free: 14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.1139, allocations: 99.58 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1142, allocations: 300.3 kB / 334.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005123/0.1147, allocations: 0.6032 MB / 335 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1147, allocations: 3.938 kB / 335 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1147, allocations: 3.938 kB / 335 MB, free: 12.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1147, allocations: 0 / 335 MB, free: 12.99 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001217/0.116, allocations: 0.7495 MB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.116, allocations: 8.031 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1161, allocations: 60.28 kB / 335.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.1167, allocations: 394.6 kB / 336.2 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.1168, allocations: 66.91 kB / 336.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.1169, allocations: 28.38 kB / 336.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.1176, allocations: 465.1 kB / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1177, allocations: 0 / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.1177, allocations: 12 kB / 336.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1177, allocations: 15.98 kB / 336.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.1183, allocations: 282.5 kB / 337.1 MB, free: 10.78 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.001981/0.1203, allocations: 1.318 MB / 338.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1214, allocations: 436.5 kB / 338.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.1217, allocations: 148.7 kB / 339 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1217, allocations: 4 kB / 339 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1217, allocations: 38.56 kB / 339 MB, free: 8.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.814e-06/0.1218, allocations: 4 kB / 339 MB, free: 8.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001212/0.123, allocations: 0.6141 MB / 339.6 MB, free: 8.051 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002291/0.1232, allocations: 448.9 kB / 340.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.1237, allocations: 457.9 kB / 340.5 MB, free: 7.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.1238, allocations: 29.7 kB / 340.6 MB, free: 7.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.124, allocations: 240.4 kB / 340.8 MB, free: 6.777 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.665e-05/0.1241, allocations: 106.4 kB / 340.9 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.1242, allocations: 29.7 kB / 340.9 MB, free: 6.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1243, allocations: 358.8 kB / 341.3 MB, free: 6.277 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1246, allocations: 116.6 kB / 341.4 MB, free: 6.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.1249, allocations: 252.1 kB / 341.6 MB, free: 5.863 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.1254, allocations: 288.8 kB / 341.9 MB, free: 5.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1255, allocations: 4 kB / 341.9 MB, free: 5.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007249/0.1262, allocations: 424.9 kB / 342.3 MB, free: 5.133 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.1262, allocations: 29.7 kB / 342.4 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1262, allocations: 7.984 kB / 342.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.1264, allocations: 53.72 kB / 342.4 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.1267, allocations: 75.89 kB / 342.5 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.1292, allocations: 2.732 MB / 345.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.1295, allocations: 55.8 kB / 345.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.1296, allocations: 8 kB / 345.3 MB, free: 1.895 MB / 286.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.000204/0.1298, allocations: 169.8 kB / 345.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.1299, allocations: 55.61 kB / 345.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/0.13, allocations: 52.69 kB / 345.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.13, allocations: 11.98 kB / 345.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.13, allocations: 0 / 345.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006601/0.1307, allocations: 0.6492 MB / 346.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.132, allocations: 0.9237 MB / 347.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.132, allocations: 0 / 347.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.1323, allocations: 71.95 kB / 347.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.1323, allocations: 7.938 kB / 347.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1324, allocations: 4 kB / 347.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1324, allocations: 0 / 347.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1324, allocations: 8 kB / 347.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.1332, allocations: 0.523 MB / 347.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.1334, allocations: 164.5 kB / 347.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.1335, allocations: 8 kB / 347.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.1338, allocations: 19.98 kB / 347.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.1338, allocations: 23.91 kB / 348 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1338, allocations: 8 kB / 348 MB, free: 15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003364/0.1342, allocations: 319.1 kB / 348.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1342, allocations: 4 kB / 348.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.1346, allocations: 131.8 kB / 348.4 MB, free: 14.55 MB / 302.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.000148/0.1348, allocations: 107.2 kB / 348.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009199/0.1357, allocations: 0.5707 MB / 349.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1357, allocations: 4.062 kB / 349.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.136, allocations: 127.8 kB / 349.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.1367, allocations: 125.8 kB / 349.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1383, allocations: 1.108 MB / 350.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.1387, allocations: 0.8159 MB / 351.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.139, allocations: 60.36 kB / 351.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1391, allocations: 43.42 kB / 351.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1391, allocations: 0 / 351.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Templates: time 0.0123/0.1514, allocations: 7.593 MB / 359 MB, free: 3.906 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)