Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 85.47 kB / 16.31 MB, free: 6.457 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.0009768/0.0009769, allocations: 183.3 kB / 17.21 MB, free: 6.324 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.65/1.65, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0004602/0.0004604, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2681, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00335/0.2715, allocations: 3.232 MB / 331 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2733, allocations: 0.9343 MB / 331.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2735, allocations: 9.094 kB / 331.9 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.2737, allocations: 77 kB / 332 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.2741, allocations: 169.4 kB / 332.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.2744, allocations: 96.73 kB / 332.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007663/0.2751, allocations: 0.6258 MB / 332.9 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.2755, allocations: 162.9 kB / 333 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.2758, allocations: 229.8 kB / 333.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.2762, allocations: 274.8 kB / 333.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.2762, allocations: 36.62 kB / 333.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.2763, allocations: 37.94 kB / 333.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2765, allocations: 106.6 kB / 333.7 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.2766, allocations: 131.2 kB / 333.8 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.2772, allocations: 0.5202 MB / 334.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.2772, allocations: 5.125 kB / 334.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2772, allocations: 3.938 kB / 334.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2772, allocations: 0 / 334.3 MB, free: 12.46 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001491/0.2787, allocations: 0.8331 MB / 335.2 MB, free: 11.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2788, allocations: 9.25 kB / 335.2 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.2789, allocations: 66.94 kB / 335.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.2798, allocations: 428.9 kB / 335.7 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.2801, allocations: 87.09 kB / 335.8 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.2802, allocations: 38.91 kB / 335.8 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009921/0.2812, allocations: 0.5228 MB / 336.3 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2812, allocations: 0 / 336.3 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.2812, allocations: 20 kB / 336.3 MB, free: 10.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2813, allocations: 8 kB / 336.3 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/0.2822, allocations: 395.7 kB / 336.7 MB, free: 10.33 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.002159/0.2843, allocations: 1.359 MB / 338.1 MB, free: 8.879 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000934/0.2853, allocations: 489.2 kB / 338.6 MB, free: 8.375 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.2857, allocations: 216.8 kB / 338.8 MB, free: 8.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.2858, allocations: 4 kB / 338.8 MB, free: 8.156 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2858, allocations: 42.5 kB / 338.8 MB, free: 8.105 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.2858, allocations: 0 / 338.8 MB, free: 8.105 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001672/0.2875, allocations: 0.8208 MB / 339.6 MB, free: 7.234 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/0.2877, allocations: 448.9 kB / 340.1 MB, free: 6.691 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.2882, allocations: 474 kB / 340.5 MB, free: 6.215 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.2883, allocations: 29.7 kB / 340.6 MB, free: 6.18 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.2885, allocations: 248.5 kB / 340.8 MB, free: 5.934 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2886, allocations: 130 kB / 340.9 MB, free: 5.805 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.2886, allocations: 12 kB / 341 MB, free: 5.793 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2888, allocations: 358.7 kB / 341.3 MB, free: 5.434 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.2892, allocations: 167.9 kB / 341.5 MB, free: 5.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.2897, allocations: 314.2 kB / 341.8 MB, free: 4.91 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.2902, allocations: 217.4 kB / 342 MB, free: 4.691 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2902, allocations: 0 / 342 MB, free: 4.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001101/0.2913, allocations: 0.5271 MB / 342.5 MB, free: 4.145 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.2914, allocations: 37.7 kB / 342.6 MB, free: 4.102 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2914, allocations: 0 / 342.6 MB, free: 4.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.2916, allocations: 49.64 kB / 342.6 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.292, allocations: 103.8 kB / 342.7 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.2946, allocations: 2.736 MB / 345.4 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.2952, allocations: 71.69 kB / 345.5 MB, free: 0.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.2952, allocations: 8 kB / 345.5 MB, free: 0.8672 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 (39): * Single equations (assignments): 36 * 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.0002601/0.2955, allocations: 173.8 kB / 345.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.2956, allocations: 55.34 kB / 345.7 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2957, allocations: 60.88 kB / 345.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2957, allocations: 4 kB / 345.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.2957, allocations: 8 kB / 345.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.2968, allocations: 0.774 MB / 346.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.2985, allocations: 1.096 MB / 347.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2985, allocations: 0 / 347.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.299, allocations: 115.8 kB / 347.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.299, allocations: 4 kB / 347.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.2991, allocations: 7.984 kB / 347.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.2991, allocations: 4 kB / 347.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2991, allocations: 0 / 347.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3005, allocations: 0.737 MB / 348.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.3008, allocations: 172.4 kB / 348.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.3008, allocations: 8 kB / 348.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.3012, allocations: 47.86 kB / 348.8 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.3013, allocations: 23.97 kB / 348.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3013, allocations: 12.06 kB / 348.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000368/0.3017, allocations: 338.9 kB / 349.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3017, allocations: 0 / 349.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000478/0.3022, allocations: 143.8 kB / 349.3 MB, free: 12.89 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 (37): * Single equations (assignments): 37 * 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.0001374/0.3023, allocations: 103.2 kB / 349.4 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.3036, allocations: 0.6918 MB / 350.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3036, allocations: 0 / 350.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.304, allocations: 216.2 kB / 350.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.3047, allocations: 137.9 kB / 350.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3065, allocations: 1.155 MB / 351.6 MB, free: 10.53 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3069, allocations: 0.8314 MB / 352.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.3072, allocations: 68.53 kB / 352.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3073, allocations: 39.44 kB / 352.5 MB, free: 9.559 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3073, allocations: 0 / 352.5 MB, free: 9.559 MB / 286.1 MB Notification: Performance of Templates: time 0.01345/0.3207, allocations: 7.967 MB / 360.5 MB, free: 1.582 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)