Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001349/0.001349, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001462/0.001462, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004557/0.2543, allocations: 3.744 MB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.2562, allocations: 1.03 MB / 330.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.2565, allocations: 9.844 kB / 330.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.2569, allocations: 117 kB / 330.2 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.2573, allocations: 202.2 kB / 330.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.2577, allocations: 143.9 kB / 330.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007353/0.2584, allocations: 0.6925 MB / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.2588, allocations: 201.8 kB / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.2591, allocations: 268.5 kB / 331.7 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.2595, allocations: 308 kB / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2596, allocations: 58.81 kB / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.2598, allocations: 60.78 kB / 332.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2599, allocations: 130.7 kB / 332.2 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.2602, allocations: 321.8 kB / 332.6 MB, free: 12.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000721/0.261, allocations: 0.6958 MB / 333.2 MB, free: 11.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.261, allocations: 5.094 kB / 333.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.261, allocations: 4 kB / 333.3 MB, free: 11.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.261, allocations: 0 / 333.3 MB, free: 11.87 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.001745/0.2628, allocations: 0.9186 MB / 334.2 MB, free: 10.97 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2628, allocations: 12.03 kB / 334.2 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.2629, allocations: 64.19 kB / 334.2 MB, free: 10.9 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.2636, allocations: 442.8 kB / 334.7 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.2638, allocations: 91.2 kB / 334.8 MB, free: 10.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.2639, allocations: 32.38 kB / 334.8 MB, free: 10.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009191/0.2648, allocations: 0.5177 MB / 335.3 MB, free: 9.727 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2649, allocations: 7.938 kB / 335.3 MB, free: 9.719 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.2649, allocations: 16 kB / 335.3 MB, free: 9.703 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2649, allocations: 11.98 kB / 335.4 MB, free: 9.691 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009851/0.2659, allocations: 379.7 kB / 335.7 MB, free: 9.32 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.002174/0.2681, allocations: 1.351 MB / 337.1 MB, free: 7.879 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2691, allocations: 468.4 kB / 337.5 MB, free: 7.395 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/0.2696, allocations: 204.8 kB / 337.7 MB, free: 7.191 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.2697, allocations: 8 kB / 337.7 MB, free: 7.184 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2697, allocations: 39.22 kB / 337.8 MB, free: 7.137 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.2697, allocations: 0 / 337.8 MB, free: 7.137 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001832/0.2716, allocations: 0.7889 MB / 338.6 MB, free: 6.297 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001903/0.2718, allocations: 444.9 kB / 339 MB, free: 5.758 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.2723, allocations: 482 kB / 339.5 MB, free: 5.277 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.2724, allocations: 33.7 kB / 339.5 MB, free: 5.238 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.2726, allocations: 244.5 kB / 339.7 MB, free: 4.996 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2727, allocations: 130 kB / 339.9 MB, free: 4.867 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.2729, allocations: 81.69 kB / 340 MB, free: 4.781 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.2731, allocations: 362.8 kB / 340.3 MB, free: 4.418 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.2736, allocations: 151.9 kB / 340.5 MB, free: 4.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.2742, allocations: 306.2 kB / 340.8 MB, free: 3.918 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008852/0.2751, allocations: 375 kB / 341.1 MB, free: 3.539 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2751, allocations: 0 / 341.1 MB, free: 3.539 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001133/0.2762, allocations: 0.5152 MB / 341.6 MB, free: 3.004 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.2763, allocations: 37.69 kB / 341.7 MB, free: 2.961 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2763, allocations: 4.031 kB / 341.7 MB, free: 2.957 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.2765, allocations: 57.64 kB / 341.7 MB, free: 2.895 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.277, allocations: 87.86 kB / 341.8 MB, free: 2.809 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.2796, allocations: 2.957 MB / 344.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.2801, allocations: 67.59 kB / 344.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.2802, allocations: 15.94 kB / 344.9 MB, free: 15.49 MB / 286.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.2804, allocations: 177.7 kB / 345 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.556e-05/0.2805, allocations: 51.44 kB / 345.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.2806, allocations: 60.92 kB / 345.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.2807, allocations: 4 kB / 345.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2807, allocations: 3.938 kB / 345.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/0.2818, allocations: 0.767 MB / 345.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.2837, allocations: 1.06 MB / 347 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2838, allocations: 7.938 kB / 347 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.2842, allocations: 99.86 kB / 347.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2842, allocations: 0 / 347.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.2843, allocations: 11.98 kB / 347.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2843, allocations: 0 / 347.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2843, allocations: 0 / 347.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.2858, allocations: 0.7058 MB / 347.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.286, allocations: 172.3 kB / 348 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.2861, allocations: 12 kB / 348 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.2865, allocations: 43.95 kB / 348 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.2866, allocations: 19.97 kB / 348 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.2866, allocations: 12 kB / 348.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.287, allocations: 342.9 kB / 348.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.287, allocations: 4 kB / 348.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000485/0.2875, allocations: 135.8 kB / 348.5 MB, free: 11.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.2877, allocations: 107.2 kB / 348.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.2891, allocations: 0.6997 MB / 349.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2891, allocations: 0 / 349.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.2896, allocations: 203.6 kB / 349.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.2903, allocations: 146 kB / 349.7 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2921, allocations: 0.963 MB / 350.6 MB, free: 9.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.2925, allocations: 0.8392 MB / 351.5 MB, free: 8.562 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.2927, allocations: 60.55 kB / 351.5 MB, free: 8.504 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2929, allocations: 47.42 kB / 351.6 MB, free: 8.457 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2929, allocations: 0 / 351.6 MB, free: 8.457 MB / 286.1 MB Notification: Performance of Templates: time 0.01643/0.3093, allocations: 9.037 MB / 360.6 MB, free: 15.41 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)