Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7269/0.7269, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001398/0.001398, allocations: 143.4 kB / 151.8 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002546/0.0002549, allocations: 8 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 25.15 MB / 210 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.487/3.629, allocations: 1.455 GB / 1.66 GB, free: 22.57 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/3.63, allocations: 65.53 kB / 1.66 GB, free: 22.54 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.411/7.041, allocations: 0.9022 GB / 2.562 GB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.946e-06/7.041, allocations: 0 / 2.562 GB, free: 14.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003634/7.041, allocations: 70.47 kB / 2.562 GB, free: 14.29 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: 573 * Number of variables: 573 Notification: Performance of Generate backend data structure: time 0.01966/7.061, allocations: 4.174 MB / 2.566 GB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/7.061, allocations: 14.08 kB / 2.566 GB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/7.063, allocations: 311.7 kB / 2.566 GB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006906/7.07, allocations: 1.982 MB / 2.568 GB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004569/7.07, allocations: 269.8 kB / 2.569 GB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/7.072, allocations: 218.6 kB / 2.569 GB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/7.082, allocations: 3.787 MB / 2.573 GB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/7.082, allocations: 10.91 kB / 2.573 GB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007372/7.083, allocations: 104.4 kB / 2.573 GB, free: 11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/7.083, allocations: 184.3 kB / 2.573 GB, free: 11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007537/7.091, allocations: 3.69 MB / 2.576 GB, free: 10.96 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/7.114, allocations: 16.92 MB / 2.593 GB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/7.117, allocations: 2.23 MB / 2.595 GB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4436/7.561, allocations: 107.8 MB / 2.7 GB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/7.561, allocations: 55.88 kB / 2.7 GB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001357/7.563, allocations: 178.3 kB / 2.701 GB, free: 9.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=182): time 6.102e-06/7.563, allocations: 0 / 2.701 GB, free: 9.902 MB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: tank.level 2: pump.medium.h 3: tank.medium.h 4: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=208): time 0.05459/7.617, allocations: 17.49 MB / 2.718 GB, free: 8.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/7.617, allocations: 122.9 kB / 2.718 GB, free: 7.977 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/7.621, allocations: 1.435 MB / 2.719 GB, free: 7.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003894/7.621, allocations: 62.39 kB / 2.719 GB, free: 7.781 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Fluid/Valves.mo:368:7-373:78:writable] Warning: The parameter valve.Av has fixed = false, a start value, start = valve.m_flow_nominal * Modelica.Fluid.Valves.ValveIncompressible$valve.valveCharacteristic(valve.opening_nominal) / sqrt(valve.rho_nominal * valve.dp_nominal) and a binding equation valve.Av = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.00109/7.622, allocations: 1.026 MB / 2.72 GB, free: 7.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008652/7.623, allocations: 0.7107 MB / 2.721 GB, free: 6.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/7.623, allocations: 46.16 kB / 2.721 GB, free: 6.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002106/7.624, allocations: 390.1 kB / 2.721 GB, free: 6.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/7.626, allocations: 1.488 MB / 2.723 GB, free: 6.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/7.629, allocations: 1.957 MB / 2.725 GB, free: 6.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05318/7.683, allocations: 8.917 MB / 2.733 GB, free: 5.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-05/7.683, allocations: 4 kB / 2.733 GB, free: 5.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01442/7.697, allocations: 5.136 MB / 2.738 GB, free: 2.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/7.697, allocations: 12 kB / 2.738 GB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/7.697, allocations: 12.77 kB / 2.739 GB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3215/8.019, allocations: 5.191 MB / 2.744 GB, free: 59.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/8.02, allocations: 282.8 kB / 2.744 GB, free: 59.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/8.03, allocations: 5.919 MB / 2.75 GB, free: 58.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/8.034, allocations: 285.2 kB / 2.75 GB, free: 58.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000422/8.034, allocations: 115.9 kB / 2.75 GB, free: 58.46 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heater.mediums[1].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 (radiator.state_b.phase,heater.state_a.phase,valve.state_b.phase,valve.state_a.phase,tank.heatTransfer.states[1].phase,pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[1].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,radiator.state_a.phase,heater.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {22 124} Notification: Performance of prepare postOptimizeDAE: time 0.001917/8.036, allocations: 0.6581 MB / 2.751 GB, free: 58.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007713/8.037, allocations: 215.8 kB / 2.751 GB, free: 58.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/8.051, allocations: 8.016 MB / 2.759 GB, free: 57.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.971e-05/8.051, allocations: 66.53 kB / 2.759 GB, free: 57.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/8.051, allocations: 5.328 kB / 2.759 GB, free: 57.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0111/8.062, allocations: 6.912 MB / 2.766 GB, free: 57.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/8.084, allocations: 11.67 MB / 2.777 GB, free: 56.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/8.084, allocations: 3.266 kB / 2.777 GB, free: 56.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/8.085, allocations: 368.4 kB / 2.777 GB, free: 56.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008642/8.094, allocations: 2.449 MB / 2.78 GB, free: 56.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008531/8.095, allocations: 87.12 kB / 2.78 GB, free: 56.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006264/8.101, allocations: 6.472 MB / 2.786 GB, free: 52.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/8.101, allocations: 1.688 kB / 2.786 GB, free: 52.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/8.12, allocations: 9.56 MB / 2.795 GB, free: 52.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003007/8.123, allocations: 0.7792 MB / 2.796 GB, free: 52.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/8.124, allocations: 61.2 kB / 2.796 GB, free: 52.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/8.127, allocations: 243 kB / 2.796 GB, free: 52.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006909/8.128, allocations: 223 kB / 2.797 GB, free: 52.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004753/8.128, allocations: 93.58 kB / 2.797 GB, free: 52.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003089/8.131, allocations: 1.084 MB / 2.798 GB, free: 51.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/8.131, allocations: 0 / 2.798 GB, free: 51.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01543/8.147, allocations: 2.579 MB / 2.8 GB, free: 51.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (tank.medium.h,tank.m,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 36 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse12.phase,$cse15.phase,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse24.phase,$cse24.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,$cse41.phase,$cse44.phase,$cse51.phase,$cse52.phase,$cse55.phase,$cse55.region,tank.heatTransfer.states[1].phase,pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[1].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {1 1,1 1,4 17,2 4,2 12,1 1,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0184/8.165, allocations: 3.254 MB / 2.803 GB, free: 51.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01112/8.177, allocations: 4.581 MB / 2.808 GB, free: 51.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/8.177, allocations: 0 / 2.808 GB, free: 51.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006182/8.183, allocations: 3.011 MB / 2.811 GB, free: 51.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007058/8.19, allocations: 1.051 MB / 2.812 GB, free: 50.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/8.209, allocations: 9.029 MB / 2.821 GB, free: 46.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/8.212, allocations: 2.206 MB / 2.823 GB, free: 45.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003509/8.216, allocations: 0.8046 MB / 2.824 GB, free: 45.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/8.217, allocations: 217.6 kB / 2.824 GB, free: 45.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.843e-06/8.217, allocations: 0.9375 kB / 2.824 GB, free: 45.74 MB / 346.7 MB Notification: Performance of Templates: time 0.4256/8.643, allocations: 103.7 MB / 2.925 GB, free: 53.14 MB / 346.7 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)