Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008806/0.0008807, allocations: 180.9 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007676/0.0007682, allocations: 95.44 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 12.25 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2247, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05797/0.2828, allocations: 73.45 MB / 0.9732 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.3011, allocations: 12.52 MB / 0.9854 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.304, allocations: 51.62 kB / 0.9854 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.3064, allocations: 0.676 MB / 0.9861 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007212/0.3136, allocations: 2.247 MB / 0.9883 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003536/0.3172, allocations: 1.242 MB / 0.9895 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00674/0.3239, allocations: 5.492 MB / 0.9949 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.3263, allocations: 1.135 MB / 0.996 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.3295, allocations: 1.338 MB / 0.9973 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.3322, allocations: 1.135 MB / 0.9984 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006202/0.3328, allocations: 56 kB / 0.9984 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.337, allocations: 1.239 MB / 0.9997 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007017/0.3377, allocations: 278.6 kB / 0.9999 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.3397, allocations: 0.7906 MB / 1.001 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.343, allocations: 2.14 MB / 1.003 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.343, allocations: 0 / 1.003 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.656e-06/0.3431, allocations: 0 / 1.003 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.614e-05/0.3432, allocations: 11.94 kB / 1.003 GB, free: 7.367 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003773/0.3469, allocations: 1.782 MB / 1.005 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.347, allocations: 15.97 kB / 1.005 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.3479, allocations: 234.9 kB / 1.005 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.3508, allocations: 1.474 MB / 1.006 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.3509, allocations: 78 kB / 1.006 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.3511, allocations: 100 kB / 1.006 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.3534, allocations: 1.112 MB / 1.007 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.3534, allocations: 4 kB / 1.007 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/0.3535, allocations: 40 kB / 1.008 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.3535, allocations: 27.98 kB / 1.008 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.3556, allocations: 0.9251 MB / 1.008 GB, free: 1.43 MB / 0.6511 GB 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.00689/0.3626, allocations: 4.907 MB / 1.013 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.3641, allocations: 0.6513 MB / 1.014 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/0.3649, allocations: 370.3 kB / 1.014 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007571/0.3657, allocations: 0.8238 MB / 1.015 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.3657, allocations: 39.12 kB / 1.015 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 3.647e-06/0.3657, allocations: 4 kB / 1.015 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.007758/0.3735, allocations: 1.885 MB / 1.017 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3736, allocations: 55.97 kB / 1.017 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.3756, allocations: 1.209 MB / 1.018 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3757, allocations: 45.64 kB / 1.018 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.3763, allocations: 0.5948 MB / 1.019 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.3765, allocations: 220.8 kB / 1.019 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.3766, allocations: 16 kB / 1.019 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3767, allocations: 334 kB / 1.019 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.3774, allocations: 301.8 kB / 1.02 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009237/0.3784, allocations: 0.5038 MB / 1.02 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.3799, allocations: 0.7558 MB / 1.021 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3799, allocations: 0 / 1.021 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005053/0.385, allocations: 1.402 MB / 1.022 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.3851, allocations: 206.1 kB / 1.022 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3851, allocations: 4 kB / 1.022 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.3857, allocations: 144.7 kB / 1.023 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.3864, allocations: 171.7 kB / 1.023 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008543/0.3873, allocations: 0.7084 MB / 1.023 GB, free: 1.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.3886, allocations: 168.5 kB / 1.024 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/0.3887, allocations: 32 kB / 1.024 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.3888, allocations: 4 kB / 1.024 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00463/0.3934, allocations: 1.253 MB / 1.025 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3934, allocations: 7.984 kB / 1.025 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.394, allocations: 141.1 kB / 1.025 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.3946, allocations: 171.7 kB / 1.025 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008444/0.3955, allocations: 0.7045 MB / 1.026 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.3969, allocations: 163.2 kB / 1.026 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.3969, allocations: 31.98 kB / 1.026 GB, free: 14.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006887/0.3976, allocations: 413.6 kB / 1.026 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.398, allocations: 134.4 kB / 1.027 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004933/0.4029, allocations: 1.4 MB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.403, allocations: 15.94 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.403, allocations: 4 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004295/0.4073, allocations: 1.236 MB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006863/0.4142, allocations: 2.738 MB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.026e-06/0.4142, allocations: 4 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000534/0.4147, allocations: 115.9 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004971/0.4152, allocations: 144.9 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.4153, allocations: 19.98 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/0.4201, allocations: 2.439 MB / 1.034 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.4201, allocations: 4 kB / 1.034 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.4257, allocations: 1.848 MB / 1.036 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/0.4264, allocations: 331.2 kB / 1.037 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.4267, allocations: 12 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.4277, allocations: 100.1 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.4279, allocations: 64.17 kB / 1.037 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.4279, allocations: 27.98 kB / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001423/0.4294, allocations: 0.8697 MB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4294, allocations: 0 / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002105/0.4315, allocations: 0.7096 MB / 1.038 GB, free: 1.605 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.4325, allocations: 451.6 kB / 1.039 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002688/0.4352, allocations: 1.168 MB / 1.04 GB, free: 0 / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/0.4352, allocations: 4.234 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.4368, allocations: 0.5953 MB / 1.04 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/0.4409, allocations: 0.8049 MB / 1.041 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.4449, allocations: 2.826 MB / 1.044 GB, free: 11.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/0.4457, allocations: 1.165 MB / 1.045 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/0.4461, allocations: 119.4 kB / 1.045 GB, free: 10.38 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/0.4461, allocations: 0 / 1.045 GB, free: 10.38 MB / 0.698 GB Notification: Performance of Templates: time 0.4223/0.8684, allocations: 30.63 MB / 1.075 GB, free: 137.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)