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.0009629/0.000963, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0008925/0.0008925, allocations: 177.3 kB / 15.95 MB, free: 216 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.588/1.588, 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.0004257/0.0004257, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 47.59 MB / 326.4 MB, free: 1.609 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004361/0.2497, allocations: 4.415 MB / 330.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.2522, allocations: 1.411 MB / 332.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.2526, allocations: 13.5 kB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.2529, allocations: 122.4 kB / 332.4 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007509/0.2537, allocations: 406.5 kB / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.2541, allocations: 203.9 kB / 333 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2552, allocations: 0.9167 MB / 333.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.2557, allocations: 327 kB / 334.2 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.2562, allocations: 434 kB / 334.7 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.2568, allocations: 497.4 kB / 335.1 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2569, allocations: 68 kB / 335.2 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2571, allocations: 71.94 kB / 335.3 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.2573, allocations: 199.2 kB / 335.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.2575, allocations: 237.1 kB / 335.7 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007764/0.2583, allocations: 0.9659 MB / 336.7 MB, free: 9.398 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.2583, allocations: 0 / 336.7 MB, free: 9.398 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2583, allocations: 0 / 336.7 MB, free: 9.398 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.2583, allocations: 4 kB / 336.7 MB, free: 9.395 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.002177/0.2605, allocations: 1.294 MB / 338 MB, free: 8.031 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2605, allocations: 8.031 kB / 338 MB, free: 8.023 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.2607, allocations: 126.6 kB / 338.1 MB, free: 7.898 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008085/0.2616, allocations: 0.5556 MB / 338.7 MB, free: 7.301 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.2618, allocations: 163.1 kB / 338.8 MB, free: 7.121 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.2619, allocations: 68 kB / 338.9 MB, free: 7.055 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.2633, allocations: 0.9716 MB / 339.9 MB, free: 5.969 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2634, allocations: 0 / 339.9 MB, free: 5.969 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.2634, allocations: 32 kB / 339.9 MB, free: 5.938 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.2635, allocations: 16 kB / 339.9 MB, free: 5.922 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.2648, allocations: 0.6364 MB / 340.5 MB, free: 5.285 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.003982/0.2687, allocations: 2.581 MB / 343.1 MB, free: 2.539 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.2715, allocations: 0.9159 MB / 344 MB, free: 1.598 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.149e-05/0.2716, allocations: 12.59 kB / 344.1 MB, free: 1.586 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.2716, allocations: 55.06 kB / 344.1 MB, free: 1.523 MB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.2716, allocations: 0 / 344.1 MB, free: 1.523 MB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.002699/0.2743, allocations: 1.458 MB / 345.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004099/0.2748, allocations: 0.9528 MB / 346.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.2756, allocations: 0.7199 MB / 347.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.2757, allocations: 45.7 kB / 347.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.276, allocations: 416.5 kB / 347.7 MB, free: 13.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.2763, allocations: 244.3 kB / 347.9 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.2763, allocations: 16 kB / 347.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2765, allocations: 337.9 kB / 348.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.277, allocations: 265.9 kB / 348.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/0.2778, allocations: 0.588 MB / 349.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.2785, allocations: 399.9 kB / 349.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2785, allocations: 0 / 349.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001648/0.2802, allocations: 0.9897 MB / 350.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.2802, allocations: 85.11 kB / 350.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2803, allocations: 0 / 350.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.2806, allocations: 136.2 kB / 350.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/0.2813, allocations: 155.8 kB / 350.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005766/0.2871, allocations: 6.976 MB / 357.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000946/0.2881, allocations: 119.3 kB / 358 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.2881, allocations: 27.97 kB / 358 MB, free: 2.379 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 (79): * Single equations (assignments): 71 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004497/0.2886, allocations: 241.7 kB / 358.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.2887, allocations: 102.9 kB / 358.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.2889, allocations: 100.9 kB / 358.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.2889, allocations: 8 kB / 358.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.289, allocations: 0 / 358.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001402/0.2904, allocations: 0.9934 MB / 359.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.2931, allocations: 1.723 MB / 361.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2931, allocations: 3.938 kB / 361.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/0.2939, allocations: 163.8 kB / 361.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.294, allocations: 28.84 kB / 361.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.2941, allocations: 19.98 kB / 361.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.2952, allocations: 1.448 MB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2952, allocations: 0 / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.2972, allocations: 1.107 MB / 363.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.2977, allocations: 239.8 kB / 364.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.2978, allocations: 23.98 kB / 364.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/0.2985, allocations: 59.83 kB / 364.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.2986, allocations: 40.59 kB / 364.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.2986, allocations: 23.98 kB / 364.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006646/0.2993, allocations: 499 kB / 364.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2993, allocations: 0 / 364.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009388/0.3002, allocations: 287.7 kB / 365.1 MB, free: 10.94 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 (69): * Single equations (assignments): 68 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.3004, allocations: 131.1 kB / 365.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.3026, allocations: 1.417 MB / 366.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.3026, allocations: 0 / 366.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.3034, allocations: 442.2 kB / 367 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3045, allocations: 243.5 kB / 367.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.3074, allocations: 2.004 MB / 369.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.3079, allocations: 1.002 MB / 370.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004927/0.3084, allocations: 106.4 kB / 370.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.3086, allocations: 71.42 kB / 370.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3086, allocations: 4 kB / 370.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of Templates: time 0.02372/0.3324, allocations: 15.01 MB / 385.5 MB, free: 6.32 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: