Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.00549/0.005489, allocations: 173.9 kB / 7.446 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.439/1.439, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001705/0.001705, allocations: 107.9 kB / 217.7 MB, free: 8.141 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.335e-06/8.546e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.08872, allocations: 38.76 MB / 300.5 MB, free: 3.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/0.4311, allocations: 71.53 MB / 372 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.4315, allocations: 71.08 kB / 372.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.06169/0.4932, allocations: 15.92 MB / 388 MB, free: 116 kB / 266.7 MB Notification: Performance of Transformations before backend: time 6.89e-05/0.4934, allocations: 16 kB / 388 MB, free: 100 kB / 266.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.003045/0.4964, allocations: 1.097 MB / 389.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.4965, allocations: 8.031 kB / 389.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.4968, allocations: 110.8 kB / 389.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.4981, allocations: 0.5343 MB / 389.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.4984, allocations: 122.4 kB / 389.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.4985, allocations: 39.98 kB / 389.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001407/0.5, allocations: 0.4884 MB / 390.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.5015, allocations: 0.7153 MB / 391.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.5016, allocations: 0 / 391.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/0.5017, allocations: 0 / 391.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.5017, allocations: 16 kB / 391.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.5069, allocations: 2.067 MB / 393.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.5088, allocations: 0.8395 MB / 394.1 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.5097, allocations: 332.2 kB / 394.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.343e-05/0.5098, allocations: 16.14 kB / 394.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.5099, allocations: 46.66 kB / 394.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 4.148e-06/0.5099, allocations: 0 / 394.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=78): time 0.003549/0.5135, allocations: 0.8713 MB / 395.3 MB, free: 9.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004734/0.514, allocations: 0.8229 MB / 396.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.515, allocations: 482.8 kB / 396.6 MB, free: 8.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.5152, allocations: 31.56 kB / 396.6 MB, free: 8.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.5155, allocations: 226.9 kB / 396.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.5158, allocations: 258.9 kB / 397.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.5159, allocations: 0 / 397.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000277/0.5162, allocations: 386.8 kB / 397.5 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.5168, allocations: 210.5 kB / 397.7 MB, free: 7.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/0.5177, allocations: 480.8 kB / 398.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.5184, allocations: 255 kB / 398.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.5184, allocations: 0 / 398.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003296/0.5217, allocations: 0.9233 MB / 399.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.5217, allocations: 11.81 kB / 399.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5218, allocations: 0 / 399.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000946/0.5227, allocations: 210.9 kB / 399.6 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.524, allocations: 150.8 kB / 399.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009851/0.5339, allocations: 5.94 MB / 405.7 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.5354, allocations: 107.3 kB / 405.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.5356, allocations: 31.22 kB / 405.8 MB, free: 15.98 MB / 298.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 pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" 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.0003942/0.536, allocations: 124.9 kB / 405.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.5363, allocations: 83.16 kB / 406 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.5366, allocations: 86.64 kB / 406.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.5367, allocations: 15.98 kB / 406.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.5367, allocations: 0 / 406.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003023/0.5397, allocations: 1.149 MB / 407.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/0.5456, allocations: 1.79 MB / 409 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5457, allocations: 4 kB / 409 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.547, allocations: 155.8 kB / 409.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007129/0.5478, allocations: 162.5 kB / 409.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.5479, allocations: 8.172 kB / 409.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008061/0.5559, allocations: 4.611 MB / 414 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.556, allocations: 4 kB / 414 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004181/0.5602, allocations: 1.277 MB / 415.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.5606, allocations: 164 kB / 415.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.5609, allocations: 0 / 415.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008406/0.5617, allocations: 51.95 kB / 415.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5619, allocations: 52.48 kB / 415.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/0.562, allocations: 20 kB / 415.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0007744/0.5628, allocations: 378.9 kB / 415.9 MB, free: 5.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001412/0.5642, allocations: 251.6 kB / 416.1 MB, free: 5.531 MB / 298.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.0003059/0.5645, allocations: 115.6 kB / 416.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.5669, allocations: 1.078 MB / 417.3 MB, free: 4.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5669, allocations: 7.875 kB / 417.3 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.5685, allocations: 0.6871 MB / 418 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.5698, allocations: 176.2 kB / 418.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.5743, allocations: 1.285 MB / 419.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.5754, allocations: 1.035 MB / 420.5 MB, free: 1.004 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5754, allocations: 0 / 420.5 MB, free: 1.004 MB / 298.7 MB Notification: Performance of Templates: time 0.04028/0.6157, allocations: 14.92 MB / 435.4 MB, free: 2.055 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)