Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009415/0.0009415, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001377/0.001377, allocations: 168.7 kB / 15.95 MB, free: 204 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.511/1.511, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004821/0.0004822, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2783, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003184/0.2816, allocations: 2.999 MB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2831, allocations: 0.8819 MB / 330.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.2834, allocations: 4.062 kB / 330.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.2837, allocations: 77.12 kB / 330.4 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.2841, allocations: 164.8 kB / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.2843, allocations: 90.86 kB / 330.7 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007096/0.2851, allocations: 0.5579 MB / 331.2 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.2854, allocations: 153 kB / 331.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.2857, allocations: 207 kB / 331.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.2861, allocations: 251.6 kB / 331.8 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.2861, allocations: 34.5 kB / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.2862, allocations: 34.97 kB / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.2863, allocations: 88.69 kB / 332 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.2865, allocations: 129.4 kB / 332.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.287, allocations: 485.7 kB / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.287, allocations: 0 / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.287, allocations: 0 / 332.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.287, allocations: 0 / 332.6 MB, free: 12.82 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.001324/0.2884, allocations: 0.7587 MB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2884, allocations: 9.188 kB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.2885, allocations: 60.22 kB / 333.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.2891, allocations: 383.9 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.2892, allocations: 57.3 kB / 333.8 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.2893, allocations: 29.81 kB / 333.9 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.29, allocations: 464.8 kB / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.29, allocations: 0 / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.2901, allocations: 16.47 kB / 334.3 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.2901, allocations: 7.844 kB / 334.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.2907, allocations: 286.4 kB / 334.6 MB, free: 11.15 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.002181/0.2928, allocations: 1.31 MB / 335.9 MB, free: 9.754 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.2939, allocations: 441.1 kB / 336.4 MB, free: 9.297 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.2942, allocations: 136.8 kB / 336.5 MB, free: 9.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.2943, allocations: 7.984 kB / 336.5 MB, free: 9.152 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2943, allocations: 42.56 kB / 336.6 MB, free: 9.102 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.2943, allocations: 0 / 336.6 MB, free: 9.102 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001136/0.2954, allocations: 0.6218 MB / 337.2 MB, free: 8.43 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/0.2957, allocations: 444.9 kB / 337.6 MB, free: 7.891 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.2962, allocations: 450 kB / 338.1 MB, free: 7.441 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.2962, allocations: 33.7 kB / 338.1 MB, free: 7.402 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.2964, allocations: 224.6 kB / 338.3 MB, free: 7.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.2965, allocations: 126.2 kB / 338.4 MB, free: 7.055 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.2965, allocations: 4 kB / 338.4 MB, free: 7.051 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2967, allocations: 354.8 kB / 338.8 MB, free: 6.695 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.2969, allocations: 112.6 kB / 338.9 MB, free: 6.582 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.2973, allocations: 260 kB / 339.1 MB, free: 6.277 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.2976, allocations: 159.3 kB / 339.3 MB, free: 6.117 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2976, allocations: 0 / 339.3 MB, free: 6.117 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007151/0.2983, allocations: 420.9 kB / 339.7 MB, free: 5.688 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.2984, allocations: 41.69 kB / 339.8 MB, free: 5.641 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2984, allocations: 0 / 339.8 MB, free: 5.641 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.2986, allocations: 53.69 kB / 339.8 MB, free: 5.582 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.2989, allocations: 71.89 kB / 339.9 MB, free: 5.512 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.3016, allocations: 2.744 MB / 342.6 MB, free: 2.496 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.302, allocations: 47.72 kB / 342.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.302, allocations: 8 kB / 342.7 MB, free: 2.441 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.000196/0.3022, allocations: 161.8 kB / 342.8 MB, free: 2.273 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.3023, allocations: 59.38 kB / 342.9 MB, free: 2.215 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.654e-05/0.3024, allocations: 56.64 kB / 342.9 MB, free: 2.16 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3024, allocations: 4 kB / 342.9 MB, free: 2.156 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3024, allocations: 0 / 342.9 MB, free: 2.156 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008244/0.3033, allocations: 0.6454 MB / 343.6 MB, free: 1.406 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.3046, allocations: 0.916 MB / 344.5 MB, free: 440 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3046, allocations: 0 / 344.5 MB, free: 440 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.305, allocations: 75.89 kB / 344.6 MB, free: 364 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.305, allocations: 7.938 kB / 344.6 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.305, allocations: 8 kB / 344.6 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.305, allocations: 7.984 kB / 344.6 MB, free: 340 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.305, allocations: 0 / 344.6 MB, free: 340 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.3058, allocations: 0.5231 MB / 345.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.306, allocations: 172.3 kB / 345.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.3061, allocations: 8 kB / 345.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3064, allocations: 19.98 kB / 345.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.3064, allocations: 15.98 kB / 345.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3065, allocations: 11.98 kB / 345.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004093/0.3069, allocations: 319.1 kB / 345.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.307, allocations: 4.062 kB / 345.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.3074, allocations: 131.8 kB / 345.8 MB, free: 15.11 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.0001372/0.3076, allocations: 99.25 kB / 345.9 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000928/0.3085, allocations: 0.5749 MB / 346.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3085, allocations: 0 / 346.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.3088, allocations: 128.4 kB / 346.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.3095, allocations: 125.9 kB / 346.7 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3111, allocations: 1.056 MB / 347.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.3115, allocations: 0.8159 MB / 348.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.3117, allocations: 64.34 kB / 348.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.3118, allocations: 35.44 kB / 348.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3118, allocations: 4 kB / 348.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of Templates: time 0.01309/0.3249, allocations: 7.289 MB / 356 MB, free: 4.812 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)