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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00119/0.001191, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.401/1.401, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001706/0.001706, allocations: 103.4 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.033e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0915/0.09154, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3265/0.4181, allocations: 71.32 MB / 379 MB, free: 4.945 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4184, allocations: 69.97 kB / 379 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04246/0.4609, allocations: 15.47 MB / 394.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4609, allocations: 0 / 394.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.461, allocations: 16 kB / 394.5 MB, free: 7.852 MB / 282.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.001802/0.4628, allocations: 1.021 MB / 395.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4628, allocations: 8.031 kB / 395.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.463, allocations: 102.9 kB / 395.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/0.4639, allocations: 0.4993 MB / 396.1 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.4641, allocations: 155.7 kB / 396.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.4642, allocations: 61.86 kB / 396.4 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.4654, allocations: 0.7876 MB / 397.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.4654, allocations: 0 / 397.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.4655, allocations: 29.12 kB / 397.2 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.4655, allocations: 15.94 kB / 397.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.4664, allocations: 0.4891 MB / 397.7 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.4697, allocations: 2.039 MB / 399.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.4713, allocations: 0.9211 MB / 400.6 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.4718, allocations: 338.4 kB / 401 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.4719, allocations: 12.84 kB / 401 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.4719, allocations: 50.09 kB / 401 MB, free: 2.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.875e-06/0.4719, allocations: 0 / 401 MB, free: 2.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.00215/0.4741, allocations: 0.8801 MB / 401.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003704/0.4745, allocations: 0.8224 MB / 402.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.4752, allocations: 0.5273 MB / 403.3 MB, free: 324 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.438e-05/0.4753, allocations: 43.64 kB / 403.3 MB, free: 284 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.4755, allocations: 316.7 kB / 403.6 MB, free: 92 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.4757, allocations: 253 kB / 403.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.4758, allocations: 16.81 kB / 403.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4759, allocations: 386.6 kB / 404.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.4763, allocations: 211.2 kB / 404.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/0.4769, allocations: 491.8 kB / 404.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.4775, allocations: 358.6 kB / 405.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4775, allocations: 0 / 405.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002223/0.4797, allocations: 1.019 MB / 406.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.4798, allocations: 88.36 kB / 406.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4798, allocations: 4 kB / 406.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.4805, allocations: 215.5 kB / 406.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.4811, allocations: 130.5 kB / 406.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.4878, allocations: 6.223 MB / 413 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/0.4889, allocations: 117.9 kB / 413.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.4889, allocations: 19.69 kB / 413.1 MB, free: 7.125 MB / 298.7 MB 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.000248/0.4892, allocations: 153.7 kB / 413.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4894, allocations: 83.14 kB / 413.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.4896, allocations: 92.98 kB / 413.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4896, allocations: 8.094 kB / 413.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4896, allocations: 0 / 413.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00197/0.4916, allocations: 1.166 MB / 414.6 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.495, allocations: 1.834 MB / 416.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.4951, allocations: 3.953 kB / 416.4 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.4957, allocations: 127.9 kB / 416.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.4962, allocations: 174.5 kB / 416.7 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.4963, allocations: 19.98 kB / 416.7 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.5026, allocations: 4.782 MB / 421.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.5026, allocations: 7.984 kB / 421.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.5057, allocations: 1.284 MB / 422.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.5061, allocations: 168.1 kB / 423 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.5062, allocations: 20 kB / 423 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.5067, allocations: 43.97 kB / 423 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.507, allocations: 60.64 kB / 423.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.507, allocations: 23.98 kB / 423.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006419/0.5077, allocations: 427.2 kB / 423.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5077, allocations: 0 / 423.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001061/0.5087, allocations: 275.7 kB / 423.8 MB, free: 12.08 MB / 314.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.0002807/0.509, allocations: 139.1 kB / 423.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.5113, allocations: 1.232 MB / 425.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5113, allocations: 0 / 425.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.5128, allocations: 0.7151 MB / 425.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.514, allocations: 196.5 kB / 426.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.5168, allocations: 1.236 MB / 427.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.5174, allocations: 0.9401 MB / 428.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00046/0.5179, allocations: 98.14 kB / 428.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.5181, allocations: 55.44 kB / 428.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of SimCode: time 2.635e-06/0.5181, allocations: 0 / 428.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of Templates: time 0.02903/0.5471, allocations: 15.47 MB / 443.9 MB, free: 7.797 MB / 330.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)