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.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001552, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.494/1.494, allocations: 205.1 MB / 222 MB, free: 5.008 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.001303/0.001304, allocations: 47.92 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 46.63 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004828/0.2373, allocations: 3.77 MB / 328.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2394, allocations: 1.027 MB / 329.5 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.2397, allocations: 10.53 kB / 329.5 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.2401, allocations: 101.4 kB / 329.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.2406, allocations: 170.6 kB / 329.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.241, allocations: 124.1 kB / 329.9 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000792/0.2418, allocations: 0.666 MB / 330.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.2421, allocations: 192.5 kB / 330.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.2424, allocations: 244.8 kB / 331 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.2428, allocations: 291.7 kB / 331.2 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.381e-05/0.2429, allocations: 46.22 kB / 331.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.243, allocations: 44.97 kB / 331.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2431, allocations: 114.9 kB / 331.4 MB, free: 12.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.2434, allocations: 298.3 kB / 331.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.244, allocations: 0.6938 MB / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.244, allocations: 0 / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.244, allocations: 0 / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.244, allocations: 0 / 332.4 MB, free: 12 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.001679/0.2457, allocations: 0.9113 MB / 333.3 MB, free: 11.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.2458, allocations: 13.03 kB / 333.4 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2459, allocations: 67.06 kB / 333.4 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007397/0.2467, allocations: 438.7 kB / 333.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.2469, allocations: 83.36 kB / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.247, allocations: 35.12 kB / 334 MB, free: 10.76 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009361/0.2479, allocations: 0.5241 MB / 334.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.248, allocations: 0 / 334.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.248, allocations: 16 kB / 334.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2481, allocations: 8 kB / 334.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009367/0.249, allocations: 371.8 kB / 334.9 MB, free: 9.805 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.002345/0.2514, allocations: 1.355 MB / 336.2 MB, free: 8.359 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.2523, allocations: 473.1 kB / 336.7 MB, free: 7.871 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.2528, allocations: 205.4 kB / 336.9 MB, free: 7.668 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.2528, allocations: 7.984 kB / 336.9 MB, free: 7.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.2529, allocations: 46.55 kB / 336.9 MB, free: 7.605 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.2529, allocations: 0 / 336.9 MB, free: 7.605 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001769/0.2547, allocations: 0.7733 MB / 337.7 MB, free: 6.781 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000192/0.2549, allocations: 460.8 kB / 338.2 MB, free: 6.227 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.2554, allocations: 478 kB / 338.6 MB, free: 5.746 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.2555, allocations: 37.7 kB / 338.7 MB, free: 5.703 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.2556, allocations: 236.5 kB / 338.9 MB, free: 5.469 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.2558, allocations: 138 kB / 339 MB, free: 5.332 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.2559, allocations: 77.69 kB / 339.1 MB, free: 5.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2561, allocations: 358.8 kB / 339.5 MB, free: 4.891 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.2565, allocations: 147.9 kB / 339.6 MB, free: 4.746 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.2571, allocations: 314.2 kB / 339.9 MB, free: 4.387 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.2579, allocations: 375 kB / 340.3 MB, free: 4.008 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2579, allocations: 0 / 340.3 MB, free: 4.008 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001117/0.259, allocations: 0.5152 MB / 340.8 MB, free: 3.473 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.2591, allocations: 37.73 kB / 340.8 MB, free: 3.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2591, allocations: 3.938 kB / 340.8 MB, free: 3.426 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.2593, allocations: 49.69 kB / 340.9 MB, free: 3.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.2597, allocations: 95.81 kB / 341 MB, free: 3.277 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.2621, allocations: 2.744 MB / 343.7 MB, free: 276 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.2627, allocations: 59.67 kB / 343.8 MB, free: 216 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2627, allocations: 15.94 kB / 343.8 MB, free: 200 kB / 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 (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.0002358/0.2629, allocations: 181.7 kB / 344 MB, free: 8 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2631, allocations: 55.52 kB / 344 MB, free: 15.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.2632, allocations: 56.92 kB / 344.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2632, allocations: 4 kB / 344.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2632, allocations: 0 / 344.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.2642, allocations: 0.7673 MB / 344.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.266, allocations: 1.071 MB / 345.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.266, allocations: 0 / 345.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.2665, allocations: 95.86 kB / 346 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2665, allocations: 4 kB / 346 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.2666, allocations: 4 kB / 346 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.2666, allocations: 4 kB / 346 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2666, allocations: 7.984 kB / 346 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2681, allocations: 0.7019 MB / 346.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.2684, allocations: 168.5 kB / 346.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.2684, allocations: 12.06 kB / 346.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.2689, allocations: 51.73 kB / 347 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.269, allocations: 23.91 kB / 347 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.269, allocations: 11.98 kB / 347 MB, free: 12.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.2694, allocations: 338.9 kB / 347.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2694, allocations: 0 / 347.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.2699, allocations: 139.8 kB / 347.5 MB, free: 12.31 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.0001297/0.27, allocations: 115.2 kB / 347.6 MB, free: 12.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.2713, allocations: 0.661 MB / 348.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2713, allocations: 3.938 kB / 348.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.2718, allocations: 207.3 kB / 348.5 MB, free: 11.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.2726, allocations: 133.8 kB / 348.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.2743, allocations: 1.128 MB / 349.7 MB, free: 9.996 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.2747, allocations: 0.8353 MB / 350.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000284/0.275, allocations: 68.53 kB / 350.6 MB, free: 9.062 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2751, allocations: 39.44 kB / 350.7 MB, free: 9.023 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2751, allocations: 3.938 kB / 350.7 MB, free: 9.02 MB / 286.1 MB Notification: Performance of Templates: time 0.01396/0.2891, allocations: 8.374 MB / 359 MB, free: 0.6367 MB / 286.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)