Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.004244/0.004244, allocations: 173.8 kB / 7.447 MB, free: 2.34 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.186/1.186, allocations: 170.6 MB / 178.4 MB, free: 15.37 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.001689/0.00169, allocations: 127.8 kB / 217.7 MB, free: 8.133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.573e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08711, allocations: 38.75 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2586/0.3458, allocations: 70.59 MB / 371.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.346, allocations: 62.47 kB / 371.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.04082/0.3868, allocations: 15.17 MB / 386.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-05/0.3869, allocations: 16 kB / 386.3 MB, free: 1.383 MB / 266.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.002047/0.389, allocations: 1.033 MB / 387.4 MB, free: 344 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.389, allocations: 8.031 kB / 387.4 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.3894, allocations: 102.9 kB / 387.5 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.3905, allocations: 0.5126 MB / 388 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.3907, allocations: 126.4 kB / 388.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3908, allocations: 39.91 kB / 388.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000911/0.3917, allocations: 475.5 kB / 388.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3927, allocations: 0.6922 MB / 389.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3928, allocations: 0 / 389.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/0.3928, allocations: 4 kB / 389.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.3929, allocations: 12 kB / 389.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.3961, allocations: 1.941 MB / 391.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.3976, allocations: 0.8348 MB / 392.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.3981, allocations: 319.4 kB / 392.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.298e-05/0.3982, allocations: 20.7 kB / 392.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3982, allocations: 49.08 kB / 392.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.264e-06/0.3982, allocations: 0 / 392.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.00211/0.4003, allocations: 0.8233 MB / 393.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003838/0.4007, allocations: 0.8264 MB / 394.1 MB, free: 10.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.4013, allocations: 457.9 kB / 394.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.4014, allocations: 29.7 kB / 394.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.4016, allocations: 221 kB / 394.8 MB, free: 9.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.4018, allocations: 250.5 kB / 395.1 MB, free: 9.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.4018, allocations: 0 / 395.1 MB, free: 9.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.402, allocations: 380.3 kB / 395.4 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.4023, allocations: 197 kB / 395.6 MB, free: 9.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.4029, allocations: 464.1 kB / 396.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.4033, allocations: 250.2 kB / 396.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4033, allocations: 0 / 396.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002081/0.4054, allocations: 0.8919 MB / 397.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4055, allocations: 7.906 kB / 397.2 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4055, allocations: 0 / 397.2 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.4061, allocations: 214.4 kB / 397.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.4068, allocations: 135.4 kB / 397.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006919/0.4137, allocations: 5.949 MB / 403.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008779/0.4146, allocations: 91.47 kB / 403.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.4148, allocations: 23.23 kB / 403.6 MB, free: 1.598 MB / 282.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.0003096/0.4151, allocations: 124.6 kB / 403.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.4153, allocations: 79.16 kB / 403.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.4155, allocations: 74.95 kB / 403.9 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4156, allocations: 7.938 kB / 403.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4156, allocations: 4 kB / 403.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002124/0.4177, allocations: 1.127 MB / 405 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/0.4217, allocations: 1.723 MB / 406.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4217, allocations: 4 kB / 406.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/0.4224, allocations: 127.2 kB / 406.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.4229, allocations: 168 kB / 407.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.423, allocations: 4 kB / 407.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005867/0.4289, allocations: 4.623 MB / 411.7 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4289, allocations: 4 kB / 411.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002778/0.4317, allocations: 1.232 MB / 412.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.432, allocations: 164 kB / 413.1 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.4322, allocations: 4 kB / 413.1 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.4327, allocations: 31.97 kB / 413.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.4328, allocations: 40.59 kB / 413.1 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.4329, allocations: 23.98 kB / 413.2 MB, free: 8.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0004935/0.4334, allocations: 355 kB / 413.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009681/0.4344, allocations: 243.5 kB / 413.8 MB, free: 7.828 MB / 298.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.0002403/0.4346, allocations: 127.2 kB / 413.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.4365, allocations: 1.043 MB / 414.9 MB, free: 6.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.4366, allocations: 4 kB / 414.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.4378, allocations: 0.6523 MB / 415.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.4387, allocations: 161.9 kB / 415.7 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.4417, allocations: 1.213 MB / 416.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007972/0.4425, allocations: 1.012 MB / 418 MB, free: 3.461 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4425, allocations: 4 kB / 418 MB, free: 3.457 MB / 298.7 MB Notification: Performance of Templates: time 0.02706/0.4696, allocations: 14.38 MB / 432.3 MB, free: 5.051 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)