Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001617/0.001617, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.419/1.419, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001534/0.001534, allocations: 112.2 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09735/0.09767, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2969/0.3947, allocations: 78.21 MB / 433.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.3949, allocations: 74.89 kB / 433.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03151/0.4264, allocations: 13.84 MB / 447.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4265, allocations: 0 / 447.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.458e-05/0.4265, allocations: 12 kB / 447.2 MB, free: 15.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001878/0.4284, allocations: 0.9817 MB / 448.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.224e-05/0.4285, allocations: 12.03 kB / 448.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.4287, allocations: 83.31 kB / 448.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007028/0.4294, allocations: 446.7 kB / 448.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.4295, allocations: 101.6 kB / 448.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/0.4296, allocations: 42.44 kB / 448.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.4308, allocations: 0.6562 MB / 449.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.4308, allocations: 0 / 449.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.4309, allocations: 24 kB / 449.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.4309, allocations: 8 kB / 449.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.432, allocations: 491.6 kB / 450 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.435, allocations: 1.879 MB / 451.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.4372, allocations: 0.7612 MB / 452.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.4372, allocations: 12.55 kB / 452.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.4373, allocations: 51.12 kB / 452.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.355e-06/0.4373, allocations: 0 / 452.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.005097/0.4424, allocations: 1.618 MB / 454.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002498/0.4426, allocations: 0.5606 MB / 454.9 MB, free: 7.836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/0.4432, allocations: 467.5 kB / 455.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.4433, allocations: 41.7 kB / 455.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.4435, allocations: 276.7 kB / 455.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4437, allocations: 197.1 kB / 455.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.4437, allocations: 12 kB / 455.9 MB, free: 6.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4439, allocations: 370.8 kB / 456.2 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.4444, allocations: 217 kB / 456.4 MB, free: 6.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006811/0.4451, allocations: 429.2 kB / 456.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.4456, allocations: 276 kB / 457.1 MB, free: 5.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4457, allocations: 0 / 457.1 MB, free: 5.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002262/0.4479, allocations: 0.8692 MB / 458 MB, free: 4.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.448, allocations: 33.7 kB / 458 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.448, allocations: 0 / 458 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009422/0.4489, allocations: 244.4 kB / 458.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007389/0.4497, allocations: 127.8 kB / 458.4 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006824/0.4565, allocations: 5.245 MB / 463.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.4572, allocations: 103.5 kB / 463.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.4573, allocations: 16 kB / 463.8 MB, free: 14.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003254/0.4576, allocations: 197.9 kB / 463.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.4577, allocations: 67.25 kB / 464 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.46, allocations: 0.8396 MB / 464.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.46, allocations: 4 kB / 464.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.46, allocations: 0 / 464.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00214/0.4622, allocations: 1.097 MB / 466 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.4653, allocations: 1.561 MB / 467.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.4653, allocations: 0 / 467.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/0.4661, allocations: 155.7 kB / 467.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007308/0.4668, allocations: 177.6 kB / 467.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.4669, allocations: 19.98 kB / 467.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/0.4719, allocations: 3.597 MB / 471.5 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4719, allocations: 3.938 kB / 471.5 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.4747, allocations: 1.152 MB / 472.6 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.475, allocations: 204.1 kB / 472.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.4751, allocations: 16 kB / 472.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.4755, allocations: 47.91 kB / 472.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.4756, allocations: 44.5 kB / 472.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.4757, allocations: 19.92 kB / 472.9 MB, free: 4.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004639/0.4761, allocations: 372.2 kB / 473.3 MB, free: 4.367 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4761, allocations: 0 / 473.3 MB, free: 4.367 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007691/0.4769, allocations: 215.8 kB / 473.5 MB, free: 4.156 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.4771, allocations: 128.2 kB / 473.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.4792, allocations: 1.032 MB / 474.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4792, allocations: 7.891 kB / 474.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.4802, allocations: 0.5591 MB / 475.2 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.481, allocations: 171.7 kB / 475.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.483, allocations: 1.511 MB / 476.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.4834, allocations: 0.8957 MB / 477.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.4837, allocations: 69.05 kB / 477.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.4839, allocations: 55.42 kB / 477.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4839, allocations: 384 / 477.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Templates: time 0.01937/0.5032, allocations: 12.44 MB / 490.4 MB, free: 3.215 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1)