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.001024/0.001024, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.411/1.411, allocations: 194.4 MB / 211.6 MB, free: 3.059 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.001549/0.001549, allocations: 118.3 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09178, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.361, allocations: 76.75 MB / 431.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.3612, allocations: 73.83 kB / 431.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03382/0.395, allocations: 15.54 MB / 447.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3951, allocations: 0 / 447.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.257e-05/0.3951, allocations: 16 kB / 447.4 MB, free: 15.8 MB / 330.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.3972, allocations: 1.127 MB / 448.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3972, allocations: 12.03 kB / 448.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.3974, allocations: 103.3 kB / 448.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.3982, allocations: 0.5114 MB / 449.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.3984, allocations: 146.4 kB / 449.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.3985, allocations: 63.98 kB / 449.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.3998, allocations: 0.8252 MB / 450.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3998, allocations: 0 / 450.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.3999, allocations: 27.98 kB / 450.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3999, allocations: 19.2 kB / 450.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.4011, allocations: 0.5751 MB / 450.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.4042, allocations: 2.057 MB / 452.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.4061, allocations: 1.038 MB / 453.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.9e-05/0.4062, allocations: 16.72 kB / 453.9 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.4062, allocations: 51.22 kB / 454 MB, free: 8.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 2.365e-06/0.4063, allocations: 3.938 kB / 454 MB, free: 8.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.004741/0.411, allocations: 1.842 MB / 455.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003895/0.4114, allocations: 0.8195 MB / 456.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.4121, allocations: 0.5385 MB / 457.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.874e-05/0.4122, allocations: 49.64 kB / 457.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.4124, allocations: 317.1 kB / 457.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.4127, allocations: 258.3 kB / 457.8 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.4127, allocations: 16 kB / 457.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4129, allocations: 382.8 kB / 458.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.4134, allocations: 257.9 kB / 458.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/0.4142, allocations: 0.5257 MB / 459 MB, free: 3.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.4148, allocations: 385.3 kB / 459.4 MB, free: 3.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4148, allocations: 4 kB / 459.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002379/0.4172, allocations: 1.102 MB / 460.5 MB, free: 1.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-05/0.4173, allocations: 89.06 kB / 460.5 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4173, allocations: 3.984 kB / 460.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006791/0.418, allocations: 258.3 kB / 460.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.4186, allocations: 131.8 kB / 460.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007455/0.426, allocations: 6.561 MB / 467.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/0.4269, allocations: 103.4 kB / 467.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.427, allocations: 24 kB / 467.6 MB, free: 10.2 MB / 346.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 () * Number of clocked 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 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004567/0.4275, allocations: 218.2 kB / 467.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.4276, allocations: 83.06 kB / 467.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.4278, allocations: 91.72 kB / 468 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4278, allocations: 8 kB / 468 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4278, allocations: 0 / 468 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0022/0.43, allocations: 1.253 MB / 469.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.4334, allocations: 1.917 MB / 471.2 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4334, allocations: 4 kB / 471.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.4341, allocations: 132.7 kB / 471.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/0.4346, allocations: 214.5 kB / 471.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.4346, allocations: 15.98 kB / 471.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006157/0.4408, allocations: 5.134 MB / 476.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4408, allocations: 0 / 476.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.4438, allocations: 1.379 MB / 478 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.4441, allocations: 172 kB / 478.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4442, allocations: 16 kB / 478.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.4447, allocations: 51.97 kB / 478.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.4449, allocations: 60.5 kB / 478.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.4449, allocations: 16 kB / 478.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005241/0.4454, allocations: 435.1 kB / 478.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4455, allocations: 1.031 kB / 478.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008311/0.4463, allocations: 283.7 kB / 479.1 MB, free: 14.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0002098/0.4465, allocations: 135.2 kB / 479.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.4484, allocations: 1.317 MB / 480.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4484, allocations: 4 kB / 480.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.4496, allocations: 0.773 MB / 481.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.4504, allocations: 192.8 kB / 481.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.4531, allocations: 1.844 MB / 483.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.4537, allocations: 0.9478 MB / 484.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.4541, allocations: 86.17 kB / 484.4 MB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4542, allocations: 55.44 kB / 484.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.4543, allocations: 4 kB / 484.4 MB, free: 8.578 MB / 362.7 MB Notification: Performance of Templates: time 0.02604/0.4803, allocations: 15.46 MB / 499.9 MB, free: 9.156 MB / 378.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)