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.001112/0.001112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00128/0.001281, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.55/1.55, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.001257/0.001257, allocations: 47.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2184, allocations: 46.63 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004238/0.2227, allocations: 3.771 MB / 328.6 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2245, allocations: 1.029 MB / 329.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.2248, allocations: 9.594 kB / 329.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.2252, allocations: 94.64 kB / 329.7 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.2256, allocations: 173.5 kB / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.2258, allocations: 121.1 kB / 330 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.2266, allocations: 0.7005 MB / 330.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.2269, allocations: 208.7 kB / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.2272, allocations: 265.2 kB / 331.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.2276, allocations: 299.2 kB / 331.5 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-05/0.2277, allocations: 59.59 kB / 331.5 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.2278, allocations: 60.03 kB / 331.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2279, allocations: 138.6 kB / 331.7 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.2283, allocations: 318.4 kB / 332.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008385/0.2291, allocations: 0.712 MB / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.2292, allocations: 0 / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2292, allocations: 0 / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.2292, allocations: 0.9062 kB / 332.8 MB, free: 12.02 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.001861/0.2311, allocations: 0.9208 MB / 333.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.2311, allocations: 8.031 kB / 333.7 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.2313, allocations: 68.19 kB / 333.8 MB, free: 11.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.2321, allocations: 426.8 kB / 334.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.2323, allocations: 87.22 kB / 334.3 MB, free: 10.56 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.2324, allocations: 36.38 kB / 334.3 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009204/0.2333, allocations: 0.5215 MB / 334.8 MB, free: 9.949 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2333, allocations: 0 / 334.8 MB, free: 9.949 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.2334, allocations: 16 kB / 334.8 MB, free: 9.934 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2334, allocations: 8 kB / 334.8 MB, free: 9.926 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.2343, allocations: 375.7 kB / 335.2 MB, free: 9.559 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.002295/0.2366, allocations: 1.359 MB / 336.6 MB, free: 8.109 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009179/0.2375, allocations: 469.7 kB / 337 MB, free: 7.625 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.238, allocations: 212.8 kB / 337.2 MB, free: 7.414 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.2381, allocations: 7.984 kB / 337.2 MB, free: 7.406 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2381, allocations: 38.56 kB / 337.3 MB, free: 7.359 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.2381, allocations: 0 / 337.3 MB, free: 7.359 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001842/0.24, allocations: 0.7811 MB / 338.1 MB, free: 6.527 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002053/0.2402, allocations: 448.9 kB / 338.5 MB, free: 5.984 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.2408, allocations: 481.9 kB / 339 MB, free: 5.504 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.2409, allocations: 33.7 kB / 339 MB, free: 5.465 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.2411, allocations: 244.5 kB / 339.2 MB, free: 5.223 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.2413, allocations: 138 kB / 339.4 MB, free: 5.086 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2414, allocations: 73.7 kB / 339.4 MB, free: 5.008 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2416, allocations: 362.8 kB / 339.8 MB, free: 4.645 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.242, allocations: 151.9 kB / 340 MB, free: 4.496 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.2425, allocations: 310.2 kB / 340.3 MB, free: 4.141 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.2433, allocations: 367 kB / 340.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.2433, allocations: 4 kB / 340.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001128/0.2445, allocations: 0.523 MB / 341.1 MB, free: 3.223 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.2445, allocations: 37.67 kB / 341.2 MB, free: 3.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2445, allocations: 0 / 341.2 MB, free: 3.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.2447, allocations: 49.69 kB / 341.2 MB, free: 3.125 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.2452, allocations: 91.88 kB / 341.3 MB, free: 3.035 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.2481, allocations: 2.961 MB / 344.3 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.2487, allocations: 67.59 kB / 344.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.2487, allocations: 15.88 kB / 344.4 MB, free: 15.71 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.0002758/0.249, allocations: 185.7 kB / 344.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2491, allocations: 51.44 kB / 344.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.2492, allocations: 52.94 kB / 344.6 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2492, allocations: 4 kB / 344.6 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2492, allocations: 3.938 kB / 344.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/0.2503, allocations: 0.7634 MB / 345.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.252, allocations: 1.067 MB / 346.5 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.252, allocations: 3.938 kB / 346.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.2525, allocations: 99.86 kB / 346.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.2525, allocations: 4 kB / 346.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.2526, allocations: 4 kB / 346.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.2526, allocations: 4 kB / 346.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2526, allocations: 80 / 346.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.254, allocations: 0.7097 MB / 347.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.2542, allocations: 176.3 kB / 347.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.2543, allocations: 16.06 kB / 347.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.2547, allocations: 39.83 kB / 347.5 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.2547, allocations: 23.97 kB / 347.6 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.2548, allocations: 12 kB / 347.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.2551, allocations: 334.9 kB / 347.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2552, allocations: 0 / 347.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004636/0.2556, allocations: 143.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.0002312/0.2559, allocations: 107.2 kB / 348.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.2573, allocations: 0.6958 MB / 348.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.2573, allocations: 4 kB / 348.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.2577, allocations: 199.6 kB / 349 MB, free: 10.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.2585, allocations: 145.7 kB / 349.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.2604, allocations: 1.139 MB / 350.3 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.2608, allocations: 0.8275 MB / 351.1 MB, free: 8.617 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.2611, allocations: 68.53 kB / 351.2 MB, free: 8.551 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.2612, allocations: 43.38 kB / 351.2 MB, free: 8.508 MB / 286.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2612, allocations: 0 / 351.2 MB, free: 8.508 MB / 286.1 MB Notification: Performance of Templates: time 0.01687/0.2781, allocations: 8.822 MB / 360.1 MB, free: 15.68 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)