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.000894/0.0008941, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.00111/0.00111, allocations: 172.7 kB / 15.95 MB, free: 208 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.517/1.517, 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.000454/0.0004541, allocations: 16 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2342, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003444/0.2377, allocations: 3.236 MB / 329.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2393, allocations: 0.9213 MB / 330.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.2395, allocations: 9.469 kB / 330.6 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.2398, allocations: 76.12 kB / 330.7 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.2401, allocations: 178.1 kB / 330.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.2403, allocations: 93.17 kB / 331 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.241, allocations: 0.6254 MB / 331.6 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.2413, allocations: 163.7 kB / 331.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.2416, allocations: 233.7 kB / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.2419, allocations: 267.5 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/0.242, allocations: 35.91 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.2421, allocations: 41.94 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2422, allocations: 102.5 kB / 332.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2423, allocations: 135.4 kB / 332.6 MB, free: 12.85 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.2428, allocations: 0.5235 MB / 333.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.2428, allocations: 0.9375 kB / 333.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2428, allocations: 0 / 333.1 MB, free: 12.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2429, allocations: 4 kB / 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.001372/0.2442, allocations: 0.8376 MB / 333.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2443, allocations: 9.938 kB / 333.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.2444, allocations: 65.25 kB / 334 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.2451, allocations: 430 kB / 334.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.2453, allocations: 82.89 kB / 334.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.2453, allocations: 34.47 kB / 334.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.2462, allocations: 0.5207 MB / 335.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2462, allocations: 3.984 kB / 335.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.2463, allocations: 20 kB / 335.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2463, allocations: 8 kB / 335.1 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.2472, allocations: 399.7 kB / 335.5 MB, free: 10.31 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.002018/0.2492, allocations: 1.351 MB / 336.8 MB, free: 8.871 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.2501, allocations: 496.4 kB / 337.3 MB, free: 8.359 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.2505, allocations: 213.5 kB / 337.5 MB, free: 8.148 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.2506, allocations: 8 kB / 337.5 MB, free: 8.141 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2506, allocations: 46.5 kB / 337.6 MB, free: 8.086 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.2507, allocations: 0 / 337.6 MB, free: 8.086 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001638/0.2523, allocations: 0.813 MB / 338.4 MB, free: 7.223 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.2525, allocations: 445 kB / 338.8 MB, free: 6.684 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.253, allocations: 478 kB / 339.3 MB, free: 6.203 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.253, allocations: 33.7 kB / 339.3 MB, free: 6.164 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.2532, allocations: 244.5 kB / 339.6 MB, free: 5.922 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.2533, allocations: 134 kB / 339.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.2533, allocations: 8 kB / 339.7 MB, free: 5.781 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2535, allocations: 362.8 kB / 340.1 MB, free: 5.418 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.2539, allocations: 171.8 kB / 340.2 MB, free: 5.25 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.2545, allocations: 310.2 kB / 340.5 MB, free: 4.895 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.255, allocations: 213.3 kB / 340.7 MB, free: 4.68 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.255, allocations: 4 kB / 340.7 MB, free: 4.676 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001021/0.256, allocations: 0.5272 MB / 341.3 MB, free: 4.129 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.2561, allocations: 37.69 kB / 341.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2561, allocations: 4 kB / 341.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.2563, allocations: 49.7 kB / 341.4 MB, free: 4.027 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.2567, allocations: 107.8 kB / 341.5 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.2589, allocations: 2.736 MB / 344.2 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.2595, allocations: 67.69 kB / 344.3 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.2595, allocations: 12 kB / 344.3 MB, free: 0.8438 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.0002871/0.2598, allocations: 169.8 kB / 344.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2599, allocations: 55.34 kB / 344.5 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.26, allocations: 60.88 kB / 344.6 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.26, allocations: 4 kB / 344.6 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2601, allocations: 0 / 344.6 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.2612, allocations: 0.7817 MB / 345.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.2632, allocations: 1.096 MB / 346.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2632, allocations: 0 / 346.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.2637, allocations: 99.86 kB / 346.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2637, allocations: 4 kB / 346.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.2637, allocations: 16 kB / 346.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2637, allocations: 0 / 346.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2638, allocations: 0 / 346.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.2651, allocations: 0.7409 MB / 347.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.2654, allocations: 172.5 kB / 347.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.2654, allocations: 12 kB / 347.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.2658, allocations: 43.86 kB / 347.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.2659, allocations: 23.97 kB / 347.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.2659, allocations: 8 kB / 347.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.2663, allocations: 342.9 kB / 347.9 MB, free: 13.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2663, allocations: 0 / 347.9 MB, free: 13.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.2668, allocations: 143.8 kB / 348 MB, free: 12.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 (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.000166/0.2669, allocations: 111.1 kB / 348.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.2683, allocations: 0.6918 MB / 348.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2683, allocations: 0 / 348.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004599/0.2688, allocations: 212.2 kB / 349 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.2696, allocations: 138 kB / 349.2 MB, free: 11.69 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.2713, allocations: 1.143 MB / 350.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.2717, allocations: 0.8353 MB / 351.1 MB, free: 9.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.272, allocations: 68.52 kB / 351.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2721, allocations: 43.44 kB / 351.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of SimCode: time 1.843e-06/0.2721, allocations: 0 / 351.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of Templates: time 0.01343/0.2856, allocations: 7.971 MB / 359.2 MB, free: 1.566 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)