Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001198/0.001198, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001567/0.001567, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004855/0.0004857, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2362, allocations: 47.59 MB / 326.5 MB, free: 1.223 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00518/0.2414, allocations: 4.901 MB / 331.4 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.2445, allocations: 1.338 MB / 332.7 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.2449, allocations: 13.88 kB / 332.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.2453, allocations: 123.9 kB / 332.8 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008523/0.2462, allocations: 339.6 kB / 333.2 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.2468, allocations: 197 kB / 333.4 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001794/0.2486, allocations: 1.2 MB / 334.6 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.2492, allocations: 335.1 kB / 334.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007077/0.25, allocations: 456.4 kB / 335.3 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006322/0.2506, allocations: 0.5174 MB / 335.9 MB, free: 9.961 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.2507, allocations: 76 kB / 335.9 MB, free: 9.887 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2509, allocations: 80 kB / 336 MB, free: 9.809 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.2511, allocations: 203.2 kB / 336.2 MB, free: 9.609 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.2513, allocations: 241.1 kB / 336.4 MB, free: 9.367 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.2522, allocations: 1.02 MB / 337.5 MB, free: 8.344 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2522, allocations: 4 kB / 337.5 MB, free: 8.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2522, allocations: 3.938 kB / 337.5 MB, free: 8.336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.2522, allocations: 0 / 337.5 MB, free: 8.336 MB / 270.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.002235/0.2545, allocations: 1.31 MB / 338.8 MB, free: 6.957 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.2545, allocations: 8.031 kB / 338.8 MB, free: 6.949 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.2548, allocations: 126.6 kB / 338.9 MB, free: 6.824 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.2558, allocations: 0.6024 MB / 339.5 MB, free: 6.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.2561, allocations: 159.1 kB / 339.7 MB, free: 6.004 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.2562, allocations: 72 kB / 339.7 MB, free: 5.934 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.2577, allocations: 0.9755 MB / 340.7 MB, free: 4.844 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2577, allocations: 0 / 340.7 MB, free: 4.844 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.2578, allocations: 36 kB / 340.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.2578, allocations: 16 kB / 340.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.2591, allocations: 0.6403 MB / 341.4 MB, free: 4.152 MB / 270.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.003832/0.2629, allocations: 2.648 MB / 344.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.2653, allocations: 0.8724 MB / 344.9 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.266, allocations: 351.2 kB / 345.3 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.578e-05/0.266, allocations: 24.62 kB / 345.3 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.2661, allocations: 55.08 kB / 345.3 MB, free: 8 kB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 3.817e-06/0.2661, allocations: 3.984 kB / 345.4 MB, free: 4 kB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.002662/0.2688, allocations: 1.436 MB / 346.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003994/0.2692, allocations: 0.9566 MB / 347.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/0.2702, allocations: 0.7863 MB / 348.5 MB, free: 12.47 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.2703, allocations: 45.7 kB / 348.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.2706, allocations: 408.6 kB / 349 MB, free: 12.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.2709, allocations: 248.3 kB / 349.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.2709, allocations: 16 kB / 349.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2711, allocations: 334 kB / 349.6 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.2717, allocations: 265.9 kB / 349.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008815/0.2726, allocations: 0.588 MB / 350.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/0.2733, allocations: 407.9 kB / 350.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2733, allocations: 3.938 kB / 350.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001745/0.275, allocations: 0.9781 MB / 351.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.2751, allocations: 81.11 kB / 351.9 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2751, allocations: 4 kB / 351.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.2754, allocations: 132.2 kB / 352 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.2762, allocations: 155.8 kB / 352.1 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.2818, allocations: 6.781 MB / 358.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.2828, allocations: 115.2 kB / 359 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.2829, allocations: 31.98 kB / 359.1 MB, free: 1.02 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004037/0.2833, allocations: 237.7 kB / 359.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.2835, allocations: 98.88 kB / 359.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.2837, allocations: 104.9 kB / 359.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2837, allocations: 11.95 kB / 359.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2837, allocations: 0 / 359.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001325/0.285, allocations: 0.9895 MB / 360.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.2877, allocations: 1.762 MB / 362.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2877, allocations: 0 / 362.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.2885, allocations: 163.8 kB / 362.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.434e-05/0.2886, allocations: 28.98 kB / 362.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.2887, allocations: 19.98 kB / 362.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008487/0.2895, allocations: 1.3 MB / 363.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2895, allocations: 7.891 kB / 363.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.2914, allocations: 1.103 MB / 364.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.2918, allocations: 263.6 kB / 365.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2919, allocations: 23.95 kB / 365.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.2925, allocations: 47.97 kB / 365.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.2926, allocations: 44.59 kB / 365.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.2927, allocations: 19.98 kB / 365.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000667/0.2934, allocations: 0.542 MB / 365.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2934, allocations: 0 / 365.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007778/0.2941, allocations: 291.7 kB / 366.1 MB, free: 9.629 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.2943, allocations: 127.1 kB / 366.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.2963, allocations: 1.405 MB / 367.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.2963, allocations: 4 kB / 367.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.297, allocations: 438.4 kB / 368.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.2981, allocations: 271.2 kB / 368.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.301, allocations: 2.004 MB / 370.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.3015, allocations: 0.9836 MB / 371.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005353/0.302, allocations: 131.5 kB / 371.4 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.3022, allocations: 71.44 kB / 371.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3022, allocations: 0 / 371.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of Templates: time 0.0267/0.3289, allocations: 15.84 MB / 387.4 MB, free: 4.164 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)