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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.00708/0.00708, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.317/1.317, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001585/0.001585, allocations: 110.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 4 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1747, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08122/0.256, allocations: 71.33 MB / 384.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.2562, allocations: 75.95 kB / 384.3 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02618/0.2824, allocations: 9.784 MB / 394.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2824, allocations: 0 / 394.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.2825, allocations: 8 kB / 394.1 MB, free: 9.262 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001395/0.2839, allocations: 0.8199 MB / 394.9 MB, free: 8.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2839, allocations: 8.031 kB / 394.9 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.284, allocations: 67.25 kB / 395 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.2846, allocations: 382 kB / 395.3 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.2847, allocations: 59.05 kB / 395.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.2848, allocations: 43.94 kB / 395.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008272/0.2856, allocations: 0.5059 MB / 396 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2856, allocations: 0 / 396 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.2857, allocations: 16 kB / 396 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.2857, allocations: 12 kB / 396 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.2866, allocations: 383.8 kB / 396.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.2886, allocations: 1.324 MB / 397.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.2897, allocations: 0.4972 MB / 398.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.2897, allocations: 11.97 kB / 398.2 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2897, allocations: 42.56 kB / 398.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.513e-06/0.2898, allocations: 0 / 398.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001625/0.2914, allocations: 0.8011 MB / 399 MB, free: 3.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.2916, allocations: 445 kB / 399.5 MB, free: 3.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.2921, allocations: 397.1 kB / 399.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2921, allocations: 33.7 kB / 399.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.2923, allocations: 240.4 kB / 400.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/0.2924, allocations: 126.1 kB / 400.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.2924, allocations: 12 kB / 400.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2926, allocations: 362.7 kB / 400.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.293, allocations: 159.9 kB / 400.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.2934, allocations: 306.3 kB / 401.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.2938, allocations: 202.5 kB / 401.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2939, allocations: 0 / 401.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009923/0.2949, allocations: 0.5359 MB / 401.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.2949, allocations: 29.7 kB / 401.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2949, allocations: 0 / 401.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.2951, allocations: 53.64 kB / 401.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.2955, allocations: 99.88 kB / 402 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.2979, allocations: 2.764 MB / 404.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.2983, allocations: 67.8 kB / 404.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.2983, allocations: 19.94 kB / 404.8 MB, free: 13.71 MB / 314.7 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 (40): * Single equations (assignments): 37 * 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.0002309/0.2986, allocations: 173.8 kB / 405 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.2987, allocations: 51.44 kB / 405 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.2988, allocations: 52.77 kB / 405.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2988, allocations: 4 kB / 405.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2988, allocations: 7.984 kB / 405.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009295/0.2997, allocations: 0.7712 MB / 405.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.3013, allocations: 1.086 MB / 407 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3014, allocations: 0 / 407 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.3018, allocations: 95.88 kB / 407.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3018, allocations: 4 kB / 407.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.3019, allocations: 8 kB / 407.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3019, allocations: 3.984 kB / 407.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3019, allocations: 3.953 kB / 407.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3032, allocations: 0.7218 MB / 407.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.3033, allocations: 132.5 kB / 407.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.3034, allocations: 8 kB / 407.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.3037, allocations: 36.05 kB / 408 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.3038, allocations: 31.91 kB / 408 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3038, allocations: 8 kB / 408 MB, free: 10.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003879/0.3042, allocations: 327.1 kB / 408.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3042, allocations: 0 / 408.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004545/0.3047, allocations: 135.8 kB / 408.5 MB, free: 9.855 MB / 314.7 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 (38): * Single equations (assignments): 38 * 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.000198/0.3049, allocations: 131.1 kB / 408.6 MB, free: 9.715 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3061, allocations: 0.6841 MB / 409.3 MB, free: 8.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3062, allocations: 8.062 kB / 409.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.3066, allocations: 199.8 kB / 409.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.3072, allocations: 126 kB / 409.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3091, allocations: 1.157 MB / 410.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3095, allocations: 0.8394 MB / 411.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.3098, allocations: 60.34 kB / 411.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.3099, allocations: 43.42 kB / 411.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3099, allocations: 3.938 kB / 411.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of Templates: time 0.1318/0.4417, allocations: 7.7 MB / 419.4 MB, free: 88.26 MB / 314.7 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)