Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00106/0.00106, allocations: 189.8 kB / 8.135 MB, free: 2.199 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.088/1.088, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001831/0.001831, allocations: 113.4 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.858e-06/9.938e-06, allocations: 7.938 kB / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0713/0.07133, allocations: 44.49 MB / 342 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.2634, allocations: 76.86 MB / 418.9 MB, free: 18.06 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.2636, allocations: 72.77 kB / 419 MB, free: 18.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03993/0.3036, allocations: 15.97 MB / 435 MB, free: 5.027 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.256e-05/0.3036, allocations: 19.98 kB / 435 MB, free: 5.008 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001653/0.3053, allocations: 1.101 MB / 436.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3053, allocations: 12.02 kB / 436.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.3055, allocations: 110.8 kB / 436.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.3062, allocations: 0.5327 MB / 436.7 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.3064, allocations: 130.4 kB / 436.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.3065, allocations: 36 kB / 436.9 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008507/0.3074, allocations: 496 kB / 437.4 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.3083, allocations: 0.7151 MB / 438.1 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3083, allocations: 3.906 kB / 438.1 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.3084, allocations: 8 kB / 438.1 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3084, allocations: 16 kB / 438.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.3114, allocations: 2.071 MB / 440.2 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3125, allocations: 0.8323 MB / 441 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.313, allocations: 344.2 kB / 441.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.751e-05/0.3131, allocations: 12.64 kB / 441.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3132, allocations: 49.97 kB / 441.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.425e-06/0.3132, allocations: 3.938 kB / 441.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.002223/0.3154, allocations: 0.8632 MB / 442.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002992/0.3157, allocations: 0.8261 MB / 443.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.3163, allocations: 481 kB / 443.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.3164, allocations: 29.7 kB / 443.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3165, allocations: 228.6 kB / 443.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.3167, allocations: 270.3 kB / 444.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.3168, allocations: 0 / 444.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3169, allocations: 381.5 kB / 444.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.3173, allocations: 209.2 kB / 444.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/0.3179, allocations: 475.9 kB / 445.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.3183, allocations: 256.2 kB / 445.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3183, allocations: 0 / 445.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002312/0.3206, allocations: 0.9264 MB / 446.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3207, allocations: 8 kB / 446.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3207, allocations: 4 kB / 446.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.3213, allocations: 198.2 kB / 446.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/0.3221, allocations: 159 kB / 446.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.3285, allocations: 5.951 MB / 452.6 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/0.3293, allocations: 99.48 kB / 452.7 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.3294, allocations: 26.3 kB / 452.7 MB, free: 4.887 MB / 330.7 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: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.3296, allocations: 140.8 kB / 452.9 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3298, allocations: 83.06 kB / 453 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.33, allocations: 81.19 kB / 453 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.33, allocations: 8 kB / 453.1 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.33, allocations: 0 / 453.1 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00213/0.3322, allocations: 1.159 MB / 454.2 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.3356, allocations: 1.787 MB / 456 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3356, allocations: 3.938 kB / 456 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/0.3365, allocations: 162.5 kB / 456.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.337, allocations: 169.2 kB / 456.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.337, allocations: 0 / 456.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005647/0.3427, allocations: 4.636 MB / 461 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3427, allocations: 0 / 461 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002669/0.3454, allocations: 1.273 MB / 462.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.3456, allocations: 163.7 kB / 462.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.3457, allocations: 7.906 kB / 462.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/0.3464, allocations: 47.95 kB / 462.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3465, allocations: 44.34 kB / 462.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.3465, allocations: 21.55 kB / 462.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004783/0.347, allocations: 372.6 kB / 462.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008564/0.3479, allocations: 275.5 kB / 463.1 MB, free: 11.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000185/0.3481, allocations: 115.1 kB / 463.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3497, allocations: 1.072 MB / 464.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3497, allocations: 4 kB / 464.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.3509, allocations: 0.6885 MB / 465 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/0.3517, allocations: 171.9 kB / 465.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.3544, allocations: 1.263 MB / 466.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/0.3552, allocations: 1.023 MB / 467.5 MB, free: 7.527 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3552, allocations: 4 kB / 467.5 MB, free: 7.523 MB / 346.7 MB Notification: Performance of Templates: time 0.02472/0.3799, allocations: 15.01 MB / 482.5 MB, free: 8.559 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)