Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.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.00117/0.00117, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001552/0.001553, allocations: 195.1 kB / 16.25 MB, free: 6.617 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.46/1.46, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001247/0.001247, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.24, allocations: 46.62 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005021/0.2451, allocations: 3.764 MB / 328.6 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.2473, allocations: 1.033 MB / 329.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.2476, allocations: 8.625 kB / 329.7 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.248, allocations: 90.52 kB / 329.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.2485, allocations: 174.3 kB / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2488, allocations: 124.8 kB / 330 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007867/0.2496, allocations: 0.6992 MB / 330.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.2499, allocations: 201.9 kB / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.2502, allocations: 269.3 kB / 331.2 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.2506, allocations: 303.1 kB / 331.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2507, allocations: 59.38 kB / 331.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2508, allocations: 61.19 kB / 331.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2509, allocations: 138.1 kB / 331.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.2513, allocations: 319 kB / 332.1 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008064/0.2521, allocations: 0.7034 MB / 332.8 MB, free: 12.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2521, allocations: 4 kB / 332.8 MB, free: 12.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2521, allocations: 0 / 332.8 MB, free: 12.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.2521, allocations: 1.156 kB / 332.8 MB, free: 12.01 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.001742/0.2539, allocations: 0.9151 MB / 333.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.2539, allocations: 8.031 kB / 333.7 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2541, allocations: 68.19 kB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.2548, allocations: 438.8 kB / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.255, allocations: 83.23 kB / 334.3 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.2551, allocations: 40.36 kB / 334.3 MB, free: 10.51 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.256, allocations: 0.5177 MB / 334.8 MB, free: 9.941 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2561, allocations: 0 / 334.8 MB, free: 9.941 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.2561, allocations: 23.94 kB / 334.8 MB, free: 9.918 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2561, allocations: 8 kB / 334.8 MB, free: 9.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.257, allocations: 375.7 kB / 335.2 MB, free: 9.543 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.002086/0.2591, allocations: 1.359 MB / 336.6 MB, free: 8.094 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.2601, allocations: 473.1 kB / 337 MB, free: 7.605 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/0.2605, allocations: 200.8 kB / 337.2 MB, free: 7.406 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.2606, allocations: 15.97 kB / 337.2 MB, free: 7.391 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.2606, allocations: 39.22 kB / 337.3 MB, free: 7.344 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.2606, allocations: 0 / 337.3 MB, free: 7.344 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.00183/0.2625, allocations: 0.7772 MB / 338.1 MB, free: 6.516 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/0.2627, allocations: 456.9 kB / 338.5 MB, free: 5.965 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.2633, allocations: 482 kB / 339 MB, free: 5.484 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.2633, allocations: 33.7 kB / 339 MB, free: 5.445 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.2635, allocations: 240.5 kB / 339.2 MB, free: 5.207 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.2636, allocations: 130 kB / 339.4 MB, free: 5.078 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2638, allocations: 81.69 kB / 339.5 MB, free: 4.992 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2639, allocations: 358.8 kB / 339.8 MB, free: 4.633 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.2643, allocations: 159.9 kB / 340 MB, free: 4.477 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.2649, allocations: 306.2 kB / 340.3 MB, free: 4.125 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/0.2658, allocations: 371 kB / 340.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2658, allocations: 0 / 340.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001128/0.2669, allocations: 0.5191 MB / 341.1 MB, free: 3.211 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.267, allocations: 29.7 kB / 341.2 MB, free: 3.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.267, allocations: 4.031 kB / 341.2 MB, free: 3.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.2673, allocations: 57.56 kB / 341.2 MB, free: 3.109 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.2677, allocations: 87.94 kB / 341.3 MB, free: 3.023 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.2705, allocations: 2.969 MB / 344.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.2711, allocations: 63.59 kB / 344.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.2711, allocations: 11.94 kB / 344.4 MB, free: 15.7 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.0002353/0.2714, allocations: 177.7 kB / 344.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.2715, allocations: 55.44 kB / 344.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.2716, allocations: 56.92 kB / 344.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2716, allocations: 4 kB / 344.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2716, allocations: 7.938 kB / 344.7 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.2727, allocations: 0.767 MB / 345.4 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.2745, allocations: 1.063 MB / 346.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.2745, allocations: 3.938 kB / 346.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.275, allocations: 99.86 kB / 346.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.275, allocations: 0 / 346.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.2751, allocations: 8 kB / 346.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2751, allocations: 0 / 346.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2751, allocations: 3.984 kB / 346.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.2765, allocations: 0.7019 MB / 347.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.2767, allocations: 176.3 kB / 347.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.2768, allocations: 12 kB / 347.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.2772, allocations: 43.95 kB / 347.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.2773, allocations: 19.97 kB / 347.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.2774, allocations: 12 kB / 347.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003832/0.2777, allocations: 342.9 kB / 347.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2778, allocations: 0 / 347.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000468/0.2782, allocations: 135.8 kB / 348 MB, free: 11.83 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.0001615/0.2784, allocations: 115.2 kB / 348.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.2798, allocations: 0.6996 MB / 348.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2798, allocations: 0 / 348.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.2803, allocations: 199.6 kB / 349 MB, free: 10.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/0.2811, allocations: 149.8 kB / 349.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.283, allocations: 1.131 MB / 350.3 MB, free: 9.465 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.2835, allocations: 0.8353 MB / 351.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.2838, allocations: 64.55 kB / 351.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2839, allocations: 43.42 kB / 351.2 MB, free: 8.496 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2839, allocations: 0 / 351.2 MB, free: 8.496 MB / 286.1 MB Notification: Performance of Templates: time 0.01499/0.2989, allocations: 8.83 MB / 360.1 MB, free: 15.65 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)