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.001047/0.001047, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009278/0.009279, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.447/1.447, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.0004981/0.0004982, allocations: 14.66 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 47.57 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003248/0.2173, allocations: 3.398 MB / 330.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2188, allocations: 0.9672 MB / 331.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.219, allocations: 12.44 kB / 331.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.2193, allocations: 82.75 kB / 331.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.2196, allocations: 173.5 kB / 331.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.2199, allocations: 129.4 kB / 331.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.2205, allocations: 0.6656 MB / 332.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.2208, allocations: 180.1 kB / 332.6 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.2211, allocations: 238.3 kB / 332.9 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.2214, allocations: 278.9 kB / 333.1 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.641e-05/0.2215, allocations: 36.31 kB / 333.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.2216, allocations: 36.97 kB / 333.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2217, allocations: 102.9 kB / 333.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.2219, allocations: 325.7 kB / 333.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.2225, allocations: 0.6701 MB / 334.3 MB, free: 11.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2225, allocations: 5 kB / 334.3 MB, free: 11.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2225, allocations: 0 / 334.3 MB, free: 11.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2226, allocations: 4 kB / 334.3 MB, free: 11.94 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.001336/0.2239, allocations: 0.8346 MB / 335.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2239, allocations: 8.031 kB / 335.1 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.224, allocations: 68.19 kB / 335.2 MB, free: 11.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.2247, allocations: 446.8 kB / 335.6 MB, free: 10.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.2249, allocations: 83.23 kB / 335.7 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.2249, allocations: 36.36 kB / 335.8 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.2258, allocations: 0.5333 MB / 336.3 MB, free: 9.969 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2259, allocations: 4 kB / 336.3 MB, free: 9.965 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.2259, allocations: 16 kB / 336.3 MB, free: 9.949 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2259, allocations: 8 kB / 336.3 MB, free: 9.941 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.2269, allocations: 399.7 kB / 336.7 MB, free: 9.551 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.002116/0.229, allocations: 1.351 MB / 338.1 MB, free: 8.109 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.2299, allocations: 497.8 kB / 338.5 MB, free: 7.598 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.2304, allocations: 212.8 kB / 338.7 MB, free: 7.387 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.2305, allocations: 15.88 kB / 338.8 MB, free: 7.371 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2305, allocations: 38.56 kB / 338.8 MB, free: 7.324 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.883e-06/0.2305, allocations: 0 / 338.8 MB, free: 7.324 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001781/0.2323, allocations: 0.8164 MB / 339.6 MB, free: 6.457 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.2325, allocations: 444.9 kB / 340.1 MB, free: 5.918 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.233, allocations: 482 kB / 340.5 MB, free: 5.434 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.233, allocations: 37.7 kB / 340.6 MB, free: 5.391 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.2332, allocations: 248.3 kB / 340.8 MB, free: 5.145 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2333, allocations: 138.1 kB / 340.9 MB, free: 5.008 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.2334, allocations: 29.7 kB / 341 MB, free: 4.973 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2336, allocations: 362.8 kB / 341.3 MB, free: 4.609 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.234, allocations: 163.9 kB / 341.5 MB, free: 4.449 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.2346, allocations: 310.2 kB / 341.8 MB, free: 4.094 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.2355, allocations: 399 kB / 342.2 MB, free: 3.691 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2355, allocations: 3.984 kB / 342.2 MB, free: 3.688 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00114/0.2367, allocations: 0.5309 MB / 342.7 MB, free: 3.137 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.2367, allocations: 37.7 kB / 342.7 MB, free: 3.094 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2367, allocations: 0 / 342.7 MB, free: 3.094 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.2369, allocations: 49.69 kB / 342.8 MB, free: 3.039 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.2374, allocations: 99.88 kB / 342.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.2397, allocations: 2.744 MB / 345.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.2402, allocations: 67.59 kB / 345.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.2403, allocations: 16 kB / 345.7 MB, free: 15.85 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.0002324/0.2405, allocations: 181.7 kB / 345.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.2406, allocations: 55.38 kB / 345.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2407, allocations: 56.92 kB / 346 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2407, allocations: 4 kB / 346 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2407, allocations: 0 / 346 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/0.2419, allocations: 0.7905 MB / 346.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.2437, allocations: 1.091 MB / 347.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2438, allocations: 0 / 347.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.2442, allocations: 103.9 kB / 348 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2443, allocations: 0 / 348 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.2443, allocations: 8 kB / 348 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2443, allocations: 7.938 kB / 348 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2443, allocations: 0 / 348 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.2458, allocations: 0.7409 MB / 348.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.246, allocations: 168.4 kB / 348.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.2461, allocations: 12 kB / 348.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.2465, allocations: 47.95 kB / 349 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.2466, allocations: 27.91 kB / 349 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.2467, allocations: 12 kB / 349 MB, free: 12.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003836/0.2471, allocations: 338.8 kB / 349.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2471, allocations: 0 / 349.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.2475, allocations: 139.8 kB / 349.5 MB, free: 11.88 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.0001336/0.2477, allocations: 111.4 kB / 349.6 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.249, allocations: 0.6997 MB / 350.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.249, allocations: 8.062 kB / 350.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.2495, allocations: 207.5 kB / 350.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.2502, allocations: 137.8 kB / 350.6 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.2521, allocations: 1.196 MB / 351.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.2525, allocations: 0.8353 MB / 352.7 MB, free: 8.594 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.2528, allocations: 72.52 kB / 352.7 MB, free: 8.52 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2529, allocations: 39.44 kB / 352.8 MB, free: 8.48 MB / 286.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2529, allocations: 3.938 kB / 352.8 MB, free: 8.477 MB / 286.1 MB Notification: Performance of Templates: time 0.01472/0.2677, allocations: 8.298 MB / 361.1 MB, free: 172 kB / 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)