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.0009277/0.0009276, allocations: 99.55 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.0009146/0.000915, 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.542/1.542, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004595/0.0004597, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2895, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003002/0.2925, allocations: 2.759 MB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.294, allocations: 0.9103 MB / 330.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.2942, allocations: 9.375 kB / 330.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.2944, allocations: 71.06 kB / 330.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.2949, allocations: 204.7 kB / 330.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.2952, allocations: 84.31 kB / 330.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006466/0.2958, allocations: 447.9 kB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.2961, allocations: 148.3 kB / 331.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.2964, allocations: 192.6 kB / 331.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.2967, allocations: 235.7 kB / 331.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.2968, allocations: 31.06 kB / 331.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.2969, allocations: 31.31 kB / 331.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.297, allocations: 85.02 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2971, allocations: 124.5 kB / 331.7 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.2976, allocations: 457 kB / 332.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2976, allocations: 0 / 332.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2976, allocations: 0 / 332.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.2976, allocations: 4 kB / 332.2 MB, free: 13.13 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00136/0.299, allocations: 0.7582 MB / 333 MB, free: 12.47 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.299, allocations: 9.656 kB / 333 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2992, allocations: 59.41 kB / 333 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.2997, allocations: 353 kB / 333.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.2998, allocations: 61.84 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.2999, allocations: 34.28 kB / 333.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.3007, allocations: 456.7 kB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3007, allocations: 1.062 kB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.3008, allocations: 16.88 kB / 333.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.3008, allocations: 8 kB / 333.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.3015, allocations: 287.2 kB / 334.2 MB, free: 11.57 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.00214/0.3036, allocations: 1.268 MB / 335.5 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.3048, allocations: 441.2 kB / 335.9 MB, free: 9.754 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.3048, allocations: 11.98 kB / 335.9 MB, free: 9.742 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3048, allocations: 38.56 kB / 336 MB, free: 9.695 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.3049, allocations: 4 kB / 336 MB, free: 9.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001125/0.306, allocations: 0.6108 MB / 336.6 MB, free: 9.031 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002238/0.3062, allocations: 456.8 kB / 337 MB, free: 8.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.3067, allocations: 418 kB / 337.4 MB, free: 8.062 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.3067, allocations: 33.7 kB / 337.5 MB, free: 8.023 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3069, allocations: 228.5 kB / 337.7 MB, free: 7.797 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.307, allocations: 110.3 kB / 337.8 MB, free: 7.688 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.3071, allocations: 4 kB / 337.8 MB, free: 7.684 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3072, allocations: 358.8 kB / 338.1 MB, free: 7.324 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.3075, allocations: 108.6 kB / 338.3 MB, free: 7.215 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.3078, allocations: 256 kB / 338.5 MB, free: 6.914 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.3081, allocations: 163.2 kB / 338.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3081, allocations: 0 / 338.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007077/0.3088, allocations: 417 kB / 339.1 MB, free: 6.324 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.3089, allocations: 37.64 kB / 339.1 MB, free: 6.281 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3089, allocations: 3.938 kB / 339.1 MB, free: 6.277 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.3091, allocations: 53.72 kB / 339.2 MB, free: 6.219 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.3094, allocations: 75.86 kB / 339.2 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.3118, allocations: 2.771 MB / 342 MB, free: 3.102 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.3121, allocations: 43.72 kB / 342.1 MB, free: 3.059 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.3122, allocations: 12 kB / 342.1 MB, free: 3.047 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.3124, allocations: 165.8 kB / 342.2 MB, free: 2.875 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.3125, allocations: 51.44 kB / 342.3 MB, free: 2.824 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.3126, allocations: 56.64 kB / 342.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3126, allocations: 4 kB / 342.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3126, allocations: 0 / 342.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007368/0.3134, allocations: 0.6619 MB / 343 MB, free: 2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.3146, allocations: 0.8877 MB / 343.9 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3147, allocations: 0 / 343.9 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.315, allocations: 71.89 kB / 344 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.315, allocations: 4 kB / 344 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.315, allocations: 8.375 kB / 344 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.315, allocations: 4 kB / 344 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.315, allocations: 0 / 344 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.3158, allocations: 0.5228 MB / 344.5 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.316, allocations: 160.4 kB / 344.7 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.3161, allocations: 15.97 kB / 344.7 MB, free: 240 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.3164, allocations: 19.98 kB / 344.7 MB, free: 220 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3164, allocations: 15.98 kB / 344.7 MB, free: 204 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3165, allocations: 15.98 kB / 344.7 MB, free: 188 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003102/0.3168, allocations: 291.1 kB / 345 MB, free: 15.9 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3168, allocations: 4.062 kB / 345 MB, free: 15.9 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.3172, allocations: 131.8 kB / 345.1 MB, free: 15.77 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.3173, allocations: 103.2 kB / 345.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008455/0.3182, allocations: 0.5788 MB / 345.8 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3182, allocations: 3.938 kB / 345.8 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.3184, allocations: 124.4 kB / 345.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.319, allocations: 110 kB / 346 MB, free: 14.81 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3206, allocations: 1.056 MB / 347.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3209, allocations: 0.8275 MB / 347.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002019/0.3212, allocations: 55.28 kB / 348 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.3213, allocations: 35.44 kB / 348 MB, free: 12.79 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3213, allocations: 4 kB / 348 MB, free: 12.78 MB / 286.1 MB Notification: Performance of Templates: time 0.01229/0.3336, allocations: 6.895 MB / 354.9 MB, free: 5.879 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: