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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001968/0.001968, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.468/1.468, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001597/0.001597, allocations: 128.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.044e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08044, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3243/0.4048, allocations: 76.66 MB / 426.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4051, allocations: 71.73 kB / 426.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0364/0.4415, allocations: 15.53 MB / 441.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4416, allocations: 0 / 441.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.548e-05/0.4416, allocations: 16 kB / 441.7 MB, free: 4.727 MB / 298.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.001466/0.4431, allocations: 1.013 MB / 442.7 MB, free: 3.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4432, allocations: 8.031 kB / 442.7 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.4434, allocations: 103.2 kB / 442.8 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.444, allocations: 0.5061 MB / 443.3 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.4442, allocations: 147.6 kB / 443.5 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.4443, allocations: 59.12 kB / 443.5 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009669/0.4453, allocations: 0.7867 MB / 444.3 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.4453, allocations: 1.312 kB / 444.3 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.4454, allocations: 26.06 kB / 444.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.4454, allocations: 12 kB / 444.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.4461, allocations: 0.4937 MB / 444.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.4488, allocations: 2.058 MB / 446.9 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.4502, allocations: 0.9139 MB / 447.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.4507, allocations: 340.9 kB / 448.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.09e-05/0.4508, allocations: 20.02 kB / 448.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.4509, allocations: 47.22 kB / 448.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 4.258e-06/0.4509, allocations: 0 / 448.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002313/0.4532, allocations: 0.8758 MB / 449.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005378/0.4538, allocations: 0.8273 MB / 449.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/0.4546, allocations: 0.5326 MB / 450.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.4548, allocations: 45.52 kB / 450.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.455, allocations: 307.6 kB / 450.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.4553, allocations: 267.7 kB / 451.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.4553, allocations: 13.62 kB / 451.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4555, allocations: 383.6 kB / 451.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.4559, allocations: 211.2 kB / 451.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.4565, allocations: 491.3 kB / 452.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.4569, allocations: 344.3 kB / 452.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.457, allocations: 0 / 452.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002102/0.4591, allocations: 1.023 MB / 453.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/0.4591, allocations: 88.23 kB / 453.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4592, allocations: 0 / 453.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007049/0.4599, allocations: 216.9 kB / 453.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.4605, allocations: 128.2 kB / 453.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006784/0.4673, allocations: 6.222 MB / 460.2 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/0.4682, allocations: 108.1 kB / 460.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.4683, allocations: 26.36 kB / 460.3 MB, free: 4.078 MB / 314.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.0002208/0.4685, allocations: 151.7 kB / 460.4 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.4687, allocations: 87.02 kB / 460.5 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.4689, allocations: 93.17 kB / 460.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.469, allocations: 12 kB / 460.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.469, allocations: 0 / 460.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001899/0.4709, allocations: 1.169 MB / 461.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.474, allocations: 1.847 MB / 463.6 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4741, allocations: 4 kB / 463.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/0.4747, allocations: 131.4 kB / 463.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/0.4751, allocations: 176.4 kB / 463.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.4752, allocations: 11.12 kB / 464 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005218/0.4804, allocations: 4.794 MB / 468.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4805, allocations: 0 / 468.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.4831, allocations: 1.286 MB / 470 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.4834, allocations: 164.3 kB / 470.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.4836, allocations: 23.86 kB / 470.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.4841, allocations: 46.17 kB / 470.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.4843, allocations: 69.95 kB / 470.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.4843, allocations: 17.38 kB / 470.3 MB, free: 11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000555/0.4849, allocations: 434 kB / 470.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4849, allocations: 0 / 470.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009519/0.4858, allocations: 279.8 kB / 471 MB, free: 10.33 MB / 330.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.0002581/0.4861, allocations: 142.9 kB / 471.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.488, allocations: 1.228 MB / 472.4 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.4881, allocations: 8.062 kB / 472.4 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4891, allocations: 0.7112 MB / 473.1 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.49, allocations: 201.3 kB / 473.3 MB, free: 7.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.4923, allocations: 1.204 MB / 474.5 MB, free: 6.672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.4928, allocations: 0.9401 MB / 475.5 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000381/0.4932, allocations: 94.16 kB / 475.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.4933, allocations: 67.36 kB / 475.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4933, allocations: 3.938 kB / 475.6 MB, free: 5.543 MB / 330.7 MB Notification: Performance of Templates: time 0.02474/0.5181, allocations: 15.57 MB / 491.2 MB, free: 5.965 MB / 346.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)