Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001533/0.001534, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.618/1.618, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001835/0.001834, allocations: 115.5 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.56e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09963, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/0.4119, allocations: 75.92 MB / 418.5 MB, free: 19.96 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4122, allocations: 70.53 kB / 418.6 MB, free: 19.93 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02313/0.4353, allocations: 9.684 MB / 428.2 MB, free: 12.07 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4354, allocations: 0 / 428.2 MB, free: 12.07 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.839e-05/0.4354, allocations: 12 kB / 428.2 MB, free: 12.05 MB / 315.1 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.001301/0.4367, allocations: 0.7347 MB / 429 MB, free: 11.3 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4368, allocations: 12.03 kB / 429 MB, free: 11.29 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.437, allocations: 64.97 kB / 429.1 MB, free: 11.23 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.4377, allocations: 389.4 kB / 429.4 MB, free: 10.86 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.4378, allocations: 50.47 kB / 429.5 MB, free: 10.81 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.4379, allocations: 24 kB / 429.5 MB, free: 10.79 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004855/0.4384, allocations: 261.1 kB / 429.8 MB, free: 10.62 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.4389, allocations: 413.9 kB / 430.2 MB, free: 10.26 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.439, allocations: 0 / 430.2 MB, free: 10.26 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.439, allocations: 0 / 430.2 MB, free: 10.26 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.439, allocations: 8 kB / 430.2 MB, free: 10.25 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.4411, allocations: 1.241 MB / 431.4 MB, free: 9.242 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.4418, allocations: 421.3 kB / 431.8 MB, free: 8.914 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.442, allocations: 145.3 kB / 432 MB, free: 8.824 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.442, allocations: 15.92 kB / 432 MB, free: 8.812 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.4421, allocations: 43 kB / 432 MB, free: 8.766 MB / 315.1 MB Notification: Performance of pre-optimization done (n=38): time 1.984e-06/0.4421, allocations: 0 / 432 MB, free: 8.766 MB / 315.1 MB Notification: Performance of matching and sorting (n=38): time 0.0006923/0.4428, allocations: 362.6 kB / 432.4 MB, free: 8.488 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.4429, allocations: 445 kB / 432.8 MB, free: 7.949 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.4432, allocations: 345.4 kB / 433.2 MB, free: 7.68 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.4433, allocations: 25.7 kB / 433.2 MB, free: 7.648 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.4434, allocations: 243.9 kB / 433.4 MB, free: 7.48 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.62e-05/0.4435, allocations: 125.2 kB / 433.5 MB, free: 7.371 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.4435, allocations: 4 kB / 433.5 MB, free: 7.367 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.4436, allocations: 349.9 kB / 433.9 MB, free: 7.035 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.4438, allocations: 105.9 kB / 434 MB, free: 6.977 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.444, allocations: 243 kB / 434.2 MB, free: 6.754 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.4442, allocations: 123.6 kB / 434.3 MB, free: 6.68 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4442, allocations: 0 / 434.3 MB, free: 6.68 MB / 315.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005814/0.4448, allocations: 398.7 kB / 434.7 MB, free: 6.375 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4448, allocations: 34.64 kB / 434.8 MB, free: 6.336 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4449, allocations: 0 / 434.8 MB, free: 6.336 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.4451, allocations: 57.86 kB / 434.8 MB, free: 6.285 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.4455, allocations: 102.7 kB / 434.9 MB, free: 6.188 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.4471, allocations: 2.631 MB / 437.6 MB, free: 3.492 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.4475, allocations: 64.53 kB / 437.6 MB, free: 3.43 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.4476, allocations: 11.69 kB / 437.6 MB, free: 3.422 MB / 315.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * 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.0001806/0.4477, allocations: 116.9 kB / 437.7 MB, free: 3.301 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.4478, allocations: 51.44 kB / 437.8 MB, free: 3.25 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.726e-05/0.4479, allocations: 54.06 kB / 437.8 MB, free: 3.215 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.4479, allocations: 4 kB / 437.9 MB, free: 3.211 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.448, allocations: 1.969 kB / 437.9 MB, free: 3.211 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005052/0.4485, allocations: 0.663 MB / 438.5 MB, free: 2.52 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.4496, allocations: 0.9166 MB / 439.4 MB, free: 1.77 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4496, allocations: 0 / 439.4 MB, free: 1.77 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.4501, allocations: 103.1 kB / 439.5 MB, free: 1.672 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.4501, allocations: 3.938 kB / 439.5 MB, free: 1.672 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4501, allocations: 7.5 kB / 439.5 MB, free: 1.668 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4501, allocations: 0 / 439.5 MB, free: 1.668 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4501, allocations: 3.953 kB / 439.5 MB, free: 1.664 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006587/0.4508, allocations: 0.5527 MB / 440.1 MB, free: 1.242 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.4509, allocations: 130.5 kB / 440.2 MB, free: 1.105 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.451, allocations: 0 / 440.2 MB, free: 1.105 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.4513, allocations: 27.97 kB / 440.3 MB, free: 1.078 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.4514, allocations: 27.73 kB / 440.3 MB, free: 1.055 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4515, allocations: 11.98 kB / 440.3 MB, free: 1.043 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.4517, allocations: 274.2 kB / 440.6 MB, free: 0.8438 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4517, allocations: 0 / 440.6 MB, free: 0.8438 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.4522, allocations: 131.8 kB / 440.7 MB, free: 0.7148 MB / 315.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 () * 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.0001829/0.4524, allocations: 111.2 kB / 440.8 MB, free: 0.5977 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.4531, allocations: 0.5614 MB / 441.4 MB, free: 112 kB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4532, allocations: 0 / 441.4 MB, free: 112 kB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.4534, allocations: 150.5 kB / 441.5 MB, free: 12 kB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.454, allocations: 101.7 kB / 441.6 MB, free: 15.94 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.4556, allocations: 0.6399 MB / 442.2 MB, free: 15.34 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.4561, allocations: 0.843 MB / 443.1 MB, free: 14.47 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.4564, allocations: 56.16 kB / 443.1 MB, free: 14.41 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4565, allocations: 35.44 kB / 443.2 MB, free: 14.38 MB / 331.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4565, allocations: 0 / 443.2 MB, free: 14.38 MB / 331.1 MB Notification: Performance of Templates: time 0.01575/0.4723, allocations: 6.832 MB / 450 MB, free: 7.625 MB / 331.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)