Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001491/0.001491, allocations: 170.4 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.505/1.505, 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.001893/0.001893, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.517e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07384/0.07388, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/0.3682, allocations: 71.31 MB / 378.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.3685, allocations: 70.45 kB / 379 MB, free: 4.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04655/0.4151, allocations: 18.12 MB / 397.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.4152, allocations: 0 / 397.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.581e-05/0.4152, allocations: 27.92 kB / 397.1 MB, free: 5.691 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002609/0.4178, allocations: 1.109 MB / 398.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.4179, allocations: 8.031 kB / 398.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.4182, allocations: 122.7 kB / 398.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.4192, allocations: 0.5751 MB / 399 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.4195, allocations: 157.1 kB / 399.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4196, allocations: 67.12 kB / 399.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.421, allocations: 0.8944 MB / 400.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.421, allocations: 0 / 400.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.4211, allocations: 33.5 kB / 400.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.4211, allocations: 19.94 kB / 400.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.4222, allocations: 0.5396 MB / 400.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.4263, allocations: 2.49 MB / 403.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.429, allocations: 0.8861 MB / 404 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.4296, allocations: 328.8 kB / 404.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.342e-05/0.4297, allocations: 8.781 kB / 404.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.4297, allocations: 49.91 kB / 404.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.507e-06/0.4298, allocations: 0 / 404.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00159/0.4313, allocations: 0.7185 MB / 405.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005111/0.4319, allocations: 0.9522 MB / 406.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/0.4329, allocations: 0.6573 MB / 406.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.4329, allocations: 44.7 kB / 406.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.4332, allocations: 388.7 kB / 407.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.4335, allocations: 252.7 kB / 407.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.4335, allocations: 14.75 kB / 407.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4337, allocations: 333.1 kB / 407.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.4342, allocations: 224.4 kB / 408 MB, free: 12.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.4348, allocations: 0.5423 MB / 408.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.4354, allocations: 361 kB / 408.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4354, allocations: 3.938 kB / 408.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001556/0.437, allocations: 0.9261 MB / 409.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.387e-05/0.437, allocations: 85.11 kB / 409.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4371, allocations: 0 / 409.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/0.4377, allocations: 177.4 kB / 410.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.4384, allocations: 159.1 kB / 410.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006262/0.4447, allocations: 6.904 MB / 417.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.4459, allocations: 123 kB / 417.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.4459, allocations: 24.06 kB / 417.3 MB, free: 3.074 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002587/0.4462, allocations: 160.9 kB / 417.4 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.4464, allocations: 102.9 kB / 417.5 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.4467, allocations: 92.39 kB / 417.6 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.4467, allocations: 8 kB / 417.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.4467, allocations: 3.984 kB / 417.6 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.4479, allocations: 0.9183 MB / 418.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.4505, allocations: 1.667 MB / 420.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4505, allocations: 3.953 kB / 420.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007885/0.4513, allocations: 167.8 kB / 420.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.4515, allocations: 28.84 kB / 420.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.4515, allocations: 15.98 kB / 420.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.4527, allocations: 1.448 MB / 421.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4527, allocations: 0 / 421.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.4543, allocations: 0.9946 MB / 422.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.4546, allocations: 187.8 kB / 423 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.4547, allocations: 20 kB / 423.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.4552, allocations: 43.98 kB / 423.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4553, allocations: 48.66 kB / 423.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.4554, allocations: 20 kB / 423.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007084/0.4561, allocations: 0.5109 MB / 423.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4561, allocations: 0 / 423.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009683/0.4571, allocations: 288.7 kB / 424 MB, free: 12 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002395/0.4573, allocations: 135.1 kB / 424.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.4596, allocations: 1.355 MB / 425.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.4596, allocations: 0 / 425.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.4602, allocations: 403.3 kB / 425.8 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4612, allocations: 234.3 kB / 426.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.4638, allocations: 1.27 MB / 427.3 MB, free: 8.477 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.4643, allocations: 0.9834 MB / 428.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005526/0.4649, allocations: 111 kB / 428.4 MB, free: 7.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.4651, allocations: 75.42 kB / 428.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4651, allocations: 4 kB / 428.5 MB, free: 7.273 MB / 314.7 MB Notification: Performance of Templates: time 0.02983/0.4949, allocations: 15.55 MB / 444.1 MB, free: 7.695 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)