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.0009811/0.000981, allocations: 86.95 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.000883/0.0008829, 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.767/1.767, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005383/0.0005383, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2719, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003305/0.2753, allocations: 3.24 MB / 329.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.277, allocations: 0.9291 MB / 330.6 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2773, allocations: 5.562 kB / 330.6 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.2775, allocations: 76.52 kB / 330.7 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.2779, allocations: 177.4 kB / 330.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2782, allocations: 97.28 kB / 331 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006679/0.2789, allocations: 0.6182 MB / 331.6 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2791, allocations: 167.3 kB / 331.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.2794, allocations: 233.4 kB / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.2797, allocations: 263.1 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.2798, allocations: 36 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.2799, allocations: 37.72 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.2801, allocations: 106.7 kB / 332.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.2802, allocations: 135.3 kB / 332.6 MB, free: 12.85 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.2807, allocations: 0.5287 MB / 333.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2807, allocations: 0 / 333.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2807, allocations: 0 / 333.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.2807, allocations: 0 / 333.1 MB, free: 12.45 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.001396/0.2821, allocations: 0.8381 MB / 333.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2822, allocations: 9.094 kB / 333.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.2823, allocations: 65.84 kB / 334 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.283, allocations: 426.1 kB / 334.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.2832, allocations: 90.47 kB / 334.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.2833, allocations: 31.16 kB / 334.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.2842, allocations: 0.5257 MB / 335.1 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2842, allocations: 0 / 335.1 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.2843, allocations: 20 kB / 335.1 MB, free: 10.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2843, allocations: 8 kB / 335.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.2852, allocations: 395.7 kB / 335.5 MB, free: 10.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.001982/0.2872, allocations: 1.359 MB / 336.8 MB, free: 8.875 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.2881, allocations: 484.7 kB / 337.3 MB, free: 8.375 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.2886, allocations: 220.7 kB / 337.5 MB, free: 8.156 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.2886, allocations: 7.984 kB / 337.5 MB, free: 8.148 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.2887, allocations: 42.56 kB / 337.6 MB, free: 8.098 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.2887, allocations: 0 / 337.6 MB, free: 8.098 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001663/0.2903, allocations: 0.8134 MB / 338.4 MB, free: 7.234 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.2905, allocations: 452.9 kB / 338.8 MB, free: 6.688 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.291, allocations: 474 kB / 339.3 MB, free: 6.211 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.2911, allocations: 37.7 kB / 339.3 MB, free: 6.168 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.2913, allocations: 240.5 kB / 339.6 MB, free: 5.93 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2914, allocations: 134 kB / 339.7 MB, free: 5.797 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.2914, allocations: 8 kB / 339.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2916, allocations: 362.8 kB / 340.1 MB, free: 5.426 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.292, allocations: 167.9 kB / 340.2 MB, free: 5.262 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.2925, allocations: 314.2 kB / 340.5 MB, free: 4.902 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.2929, allocations: 209.4 kB / 340.7 MB, free: 4.691 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.293, allocations: 4 kB / 340.7 MB, free: 4.688 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001057/0.294, allocations: 0.5311 MB / 341.3 MB, free: 4.137 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.2941, allocations: 29.7 kB / 341.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2941, allocations: 0 / 341.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.2942, allocations: 57.69 kB / 341.4 MB, free: 4.039 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.2947, allocations: 95.83 kB / 341.4 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.297, allocations: 2.74 MB / 344.2 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.2975, allocations: 67.69 kB / 344.3 MB, free: 0.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.2975, allocations: 16 kB / 344.3 MB, free: 0.8594 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.0002162/0.2978, allocations: 169.8 kB / 344.4 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.2979, allocations: 55.34 kB / 344.5 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.298, allocations: 60.89 kB / 344.5 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.298, allocations: 4 kB / 344.6 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.298, allocations: 0 / 344.6 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/0.299, allocations: 0.7818 MB / 345.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3008, allocations: 1.1 MB / 346.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3008, allocations: 3.984 kB / 346.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/0.3012, allocations: 103.9 kB / 346.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3013, allocations: 7.938 kB / 346.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3013, allocations: 7.984 kB / 346.6 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3013, allocations: 4 kB / 346.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3013, allocations: 0 / 346.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3026, allocations: 0.7332 MB / 347.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.3029, allocations: 172.5 kB / 347.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.3029, allocations: 16 kB / 347.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.3033, allocations: 43.88 kB / 347.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.3034, allocations: 23.95 kB / 347.5 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3034, allocations: 12 kB / 347.6 MB, free: 13.36 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.3038, allocations: 334.8 kB / 347.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3038, allocations: 4 kB / 347.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000475/0.3043, allocations: 143.8 kB / 348 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.0001277/0.3044, allocations: 107.2 kB / 348.1 MB, free: 12.78 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.3056, allocations: 0.6956 MB / 348.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3056, allocations: 0 / 348.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.3061, allocations: 208.2 kB / 349 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.0007088/0.3068, allocations: 137.9 kB / 349.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3085, allocations: 1.159 MB / 350.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.309, allocations: 0.8275 MB / 351.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.3092, allocations: 68.53 kB / 351.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.3094, allocations: 39.44 kB / 351.3 MB, free: 9.555 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3094, allocations: 0 / 351.3 MB, free: 9.555 MB / 286.1 MB Notification: Performance of Templates: time 0.0157/0.3251, allocations: 7.975 MB / 359.2 MB, free: 1.57 MB / 286.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)