Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [: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.001812/0.001812, allocations: 188 kB / 8.135 MB, free: 2.211 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.099/1.099, allocations: 194.2 MB / 202.8 MB, free: 8.73 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.001611/0.001611, allocations: 122 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.019e-06/5.04e-06, allocations: 0 / 297.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06957/0.06959, allocations: 44.49 MB / 342.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.2557, allocations: 75.92 MB / 418 MB, free: 19.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001695/0.2559, allocations: 73.47 kB / 418 MB, free: 19.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03871/0.2947, allocations: 15.21 MB / 433.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.87e-05/0.2947, allocations: 16 kB / 433.3 MB, free: 7.086 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001655/0.2964, allocations: 1.032 MB / 434.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2964, allocations: 8.031 kB / 434.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.2966, allocations: 106.1 kB / 434.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.2974, allocations: 0.5186 MB / 434.9 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.2975, allocations: 134.3 kB / 435.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.2976, allocations: 39.25 kB / 435.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008083/0.2984, allocations: 465.5 kB / 435.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008578/0.2993, allocations: 0.6963 MB / 436.3 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2993, allocations: 4 kB / 436.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.2994, allocations: 0 / 436.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2994, allocations: 12 kB / 436.3 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.3023, allocations: 1.942 MB / 438.2 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.3037, allocations: 0.8417 MB / 439.1 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.3041, allocations: 318.5 kB / 439.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.3042, allocations: 8.656 kB / 439.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3042, allocations: 54.78 kB / 439.4 MB, free: 1.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.204e-06/0.3042, allocations: 0 / 439.4 MB, free: 1.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002062/0.3063, allocations: 0.8269 MB / 440.3 MB, free: 1.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.3064, allocations: 0.8261 MB / 441.1 MB, free: 180 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.307, allocations: 454.2 kB / 441.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.307, allocations: 29.7 kB / 441.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3072, allocations: 223.7 kB / 441.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.3074, allocations: 251.2 kB / 442 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3074, allocations: 4 kB / 442 MB, free: 15.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3076, allocations: 373 kB / 442.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.308, allocations: 204.2 kB / 442.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.3085, allocations: 458.7 kB / 443 MB, free: 14.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.3089, allocations: 245.2 kB / 443.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.309, allocations: 1.406 kB / 443.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002222/0.3112, allocations: 0.8884 MB / 444.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3112, allocations: 12 kB / 444.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3112, allocations: 0 / 444.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006779/0.3119, allocations: 218.4 kB / 444.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.3126, allocations: 131.7 kB / 444.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006559/0.3192, allocations: 5.965 MB / 450.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.3198, allocations: 83.47 kB / 450.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.3199, allocations: 23.86 kB / 450.6 MB, free: 7.301 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 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 (70): * Single equations (assignments): 63 * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.3201, allocations: 134.2 kB / 450.7 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.3202, allocations: 79.16 kB / 450.8 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.3204, allocations: 81.11 kB / 450.9 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3204, allocations: 8 kB / 450.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3204, allocations: 0 / 450.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002054/0.3225, allocations: 1.124 MB / 452 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.3258, allocations: 1.725 MB / 453.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3259, allocations: 0 / 453.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.3266, allocations: 138.3 kB / 453.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.3271, allocations: 171.2 kB / 454 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.3272, allocations: 7.984 kB / 454 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005587/0.3328, allocations: 4.63 MB / 458.7 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3328, allocations: 7.938 kB / 458.7 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002724/0.3355, allocations: 1.235 MB / 459.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.3357, allocations: 158.5 kB / 460.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.3358, allocations: 4 kB / 460.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.3363, allocations: 31.97 kB / 460.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3365, allocations: 42.97 kB / 460.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.3365, allocations: 17.44 kB / 460.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004236/0.337, allocations: 354.4 kB / 460.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007867/0.3378, allocations: 260.2 kB / 460.8 MB, free: 14.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (62): * Single equations (assignments): 59 * 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.0001956/0.338, allocations: 126.2 kB / 460.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3396, allocations: 1.045 MB / 461.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3396, allocations: 0 / 461.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.3407, allocations: 0.6542 MB / 462.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.3415, allocations: 170.5 kB / 462.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.3441, allocations: 1.2 MB / 464 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/0.3448, allocations: 1.01 MB / 465 MB, free: 10.15 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3448, allocations: 4 kB / 465 MB, free: 10.15 MB / 346.7 MB Notification: Performance of Templates: time 0.0234/0.3682, allocations: 14.47 MB / 479.4 MB, free: 11.72 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)