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.001608/0.001608, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00152/0.00152, allocations: 195.3 kB / 16.14 MB, free: 6.672 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.574/1.574, allocations: 205.1 MB / 222 MB, free: 4.762 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.001154/0.001154, allocations: 55.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2071, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004596/0.2118, allocations: 3.77 MB / 328.4 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2135, allocations: 1.04 MB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.2137, allocations: 9.406 kB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.2141, allocations: 89.39 kB / 329.6 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.2144, allocations: 166 kB / 329.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.2147, allocations: 124.8 kB / 329.9 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.2154, allocations: 0.6812 MB / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.2158, allocations: 185.8 kB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.2161, allocations: 248.9 kB / 331 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.2164, allocations: 286.9 kB / 331.2 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.273e-05/0.2165, allocations: 41.22 kB / 331.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.2166, allocations: 41.94 kB / 331.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2168, allocations: 114.8 kB / 331.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.2171, allocations: 302.9 kB / 331.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.2178, allocations: 0.6932 MB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2178, allocations: 0 / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2178, allocations: 0 / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2178, allocations: 4 kB / 332.4 MB, free: 12.1 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.001641/0.2195, allocations: 0.9144 MB / 333.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2195, allocations: 9.812 kB / 333.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.2196, allocations: 68.16 kB / 333.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007872/0.2204, allocations: 432.7 kB / 333.8 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.2207, allocations: 83.22 kB / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.2208, allocations: 32.38 kB / 334 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/0.2217, allocations: 0.5177 MB / 334.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2217, allocations: 0 / 334.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.2218, allocations: 20 kB / 334.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2218, allocations: 8 kB / 334.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.2228, allocations: 383.7 kB / 334.9 MB, free: 9.762 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.002351/0.2251, allocations: 1.351 MB / 336.2 MB, free: 8.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.226, allocations: 476.9 kB / 336.7 MB, free: 7.828 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/0.2266, allocations: 200.8 kB / 336.9 MB, free: 7.629 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.2266, allocations: 11.98 kB / 336.9 MB, free: 7.617 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2266, allocations: 42.56 kB / 336.9 MB, free: 7.566 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.2267, allocations: 0 / 336.9 MB, free: 7.566 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001754/0.2284, allocations: 0.7851 MB / 337.7 MB, free: 6.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003033/0.2287, allocations: 444.9 kB / 338.2 MB, free: 6.191 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.2293, allocations: 482 kB / 338.6 MB, free: 5.707 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.2294, allocations: 33.7 kB / 338.7 MB, free: 5.668 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.2296, allocations: 244.5 kB / 338.9 MB, free: 5.426 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.2297, allocations: 134 kB / 339 MB, free: 5.293 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.23, allocations: 73.7 kB / 339.1 MB, free: 5.215 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002945/0.2303, allocations: 370.8 kB / 339.5 MB, free: 4.844 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.2308, allocations: 147.9 kB / 339.6 MB, free: 4.699 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.2314, allocations: 306.2 kB / 339.9 MB, free: 4.348 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007969/0.2322, allocations: 371 kB / 340.3 MB, free: 3.973 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2322, allocations: 0 / 340.3 MB, free: 3.973 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00115/0.2333, allocations: 0.523 MB / 340.8 MB, free: 3.43 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.2334, allocations: 33.7 kB / 340.8 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2334, allocations: 0 / 340.8 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.2337, allocations: 61.7 kB / 340.9 MB, free: 3.324 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.2342, allocations: 87.88 kB / 341 MB, free: 3.238 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.2376, allocations: 2.744 MB / 343.7 MB, free: 236 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.2383, allocations: 59.66 kB / 343.8 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.2383, allocations: 16.22 kB / 343.8 MB, free: 160 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.0004889/0.2388, allocations: 178.3 kB / 344 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2389, allocations: 63.33 kB / 344 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.2392, allocations: 56.92 kB / 344.1 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2392, allocations: 7.828 kB / 344.1 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2392, allocations: 0 / 344.1 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.2407, allocations: 0.7593 MB / 344.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.2425, allocations: 1.067 MB / 345.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2426, allocations: 0 / 345.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.243, allocations: 99.86 kB / 346 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2431, allocations: 4 kB / 346 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.2431, allocations: 4 kB / 346 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2431, allocations: 0 / 346 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2431, allocations: 4 kB / 346 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.2446, allocations: 0.7213 MB / 346.8 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.2449, allocations: 164.5 kB / 346.9 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.245, allocations: 8 kB / 346.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.2454, allocations: 51.8 kB / 347 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.2455, allocations: 27.91 kB / 347 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.2456, allocations: 12 kB / 347 MB, free: 12.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004808/0.2461, allocations: 334.9 kB / 347.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2461, allocations: 0 / 347.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005708/0.2467, allocations: 143.8 kB / 347.5 MB, free: 12.27 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.0001288/0.2468, allocations: 107.2 kB / 347.6 MB, free: 12.15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.2481, allocations: 0.6725 MB / 348.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2481, allocations: 0 / 348.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.2486, allocations: 199.5 kB / 348.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.2494, allocations: 133.9 kB / 348.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.2513, allocations: 1.124 MB / 349.7 MB, free: 9.965 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.2517, allocations: 0.8431 MB / 350.5 MB, free: 9.094 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.2519, allocations: 64.53 kB / 350.6 MB, free: 9.027 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.2521, allocations: 47.42 kB / 350.7 MB, free: 8.98 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2521, allocations: 0 / 350.7 MB, free: 8.98 MB / 286.1 MB Notification: Performance of Templates: time 0.01399/0.2661, allocations: 8.366 MB / 359 MB, free: 0.6055 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)