Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.059/3.059, allocations: 287.3 MB / 302.3 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 190.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.264/2.264, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 113.4 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007451/0.0007455, allocations: 12.53 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.244, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.1061/0.3501, allocations: 62.95 MB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02421/0.3744, allocations: 10.87 MB / 1.05 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.3771, allocations: 51.62 kB / 1.05 GB, free: 2.352 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.381, allocations: 0.7462 MB / 1.051 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.3916, allocations: 2.252 MB / 1.053 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007377/0.399, allocations: 1.534 MB / 1.055 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007538/0.4066, allocations: 2.479 MB / 1.057 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.4094, allocations: 1.029 MB / 1.058 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.4135, allocations: 1.148 MB / 1.059 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.4159, allocations: 0.7738 MB / 1.06 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005472/0.4165, allocations: 59.98 kB / 1.06 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/0.4205, allocations: 0.8347 MB / 1.061 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007589/0.4213, allocations: 262.9 kB / 1.061 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008476/0.4222, allocations: 360.9 kB / 1.062 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.427, allocations: 2.014 MB / 1.063 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.427, allocations: 0 / 1.063 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of FrontEnd: time 7.244e-06/0.4271, allocations: 3.984 kB / 1.063 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.922e-05/0.4272, allocations: 0 / 1.063 GB, free: 4.84 MB / 0.6823 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.005642/0.4328, allocations: 1.772 MB / 1.065 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4329, allocations: 8.031 kB / 1.065 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.4344, allocations: 241.8 kB / 1.065 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/0.4386, allocations: 1.373 MB / 1.067 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.887e-05/0.4388, allocations: 78 kB / 1.067 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.439, allocations: 100 kB / 1.067 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.4426, allocations: 1.104 MB / 1.068 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/0.4427, allocations: 0 / 1.068 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.6334/1.076, allocations: 38.95 kB / 1.068 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.784e-05/1.076, allocations: 29.5 kB / 1.068 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004104/1.08, allocations: 0.916 MB / 1.069 GB, free: 91.36 MB / 0.6823 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.01051/1.091, allocations: 4.957 MB / 1.074 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/1.094, allocations: 0.6416 MB / 1.074 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000737/1.095, allocations: 0.8244 MB / 1.075 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/1.095, allocations: 38.84 kB / 1.075 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.396e-06/1.095, allocations: 0 / 1.075 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01409/1.109, allocations: 1.879 MB / 1.077 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.109, allocations: 58.56 kB / 1.077 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.112, allocations: 1.241 MB / 1.078 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/1.112, allocations: 39.33 kB / 1.078 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006716/1.113, allocations: 0.6078 MB / 1.079 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/1.113, allocations: 213.8 kB / 1.079 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/1.113, allocations: 11.38 kB / 1.079 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.113, allocations: 337.1 kB / 1.08 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.115, allocations: 298.6 kB / 1.08 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.116, allocations: 0.5021 MB / 1.08 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/1.117, allocations: 357 kB / 1.081 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.117, allocations: 7.156 kB / 1.081 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009058/1.127, allocations: 1.392 MB / 1.082 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003337/1.127, allocations: 1.423 MB / 1.083 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.127, allocations: 3.938 kB / 1.083 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.128, allocations: 140.4 kB / 1.084 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.129, allocations: 171.3 kB / 1.084 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/1.131, allocations: 0.7048 MB / 1.084 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.133, allocations: 170.7 kB / 1.085 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/1.133, allocations: 38.91 kB / 1.085 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.133, allocations: 9.094 kB / 1.085 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008533/1.142, allocations: 1.248 MB / 1.086 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.142, allocations: 4.984 kB / 1.086 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009009/1.143, allocations: 140.1 kB / 1.086 GB, free: 81.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/1.144, allocations: 166.4 kB / 1.086 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/1.146, allocations: 0.7091 MB / 1.087 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.148, allocations: 165.8 kB / 1.087 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/1.148, allocations: 28.91 kB / 1.087 GB, free: 80.75 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 (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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009992/1.149, allocations: 426.6 kB / 1.087 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/1.149, allocations: 137 kB / 1.088 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00875/1.158, allocations: 1.395 MB / 1.089 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/1.158, allocations: 10.33 kB / 1.089 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.158, allocations: 0.7031 kB / 1.089 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008547/1.167, allocations: 1.228 MB / 1.09 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.18, allocations: 2.757 MB / 1.093 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/1.18, allocations: 12.66 kB / 1.093 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.181, allocations: 122.6 kB / 1.093 GB, free: 78.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009315/1.182, allocations: 139.6 kB / 1.093 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/1.182, allocations: 17.73 kB / 1.093 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008488/1.19, allocations: 2.506 MB / 1.096 GB, free: 76.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.19, allocations: 6.719 kB / 1.096 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.201, allocations: 2.052 MB / 1.098 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.202, allocations: 349.2 kB / 1.098 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/1.202, allocations: 23.75 kB / 1.098 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.204, allocations: 90.73 kB / 1.098 GB, free: 75.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/1.204, allocations: 58.58 kB / 1.098 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.204, allocations: 30.86 kB / 1.098 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002006/1.206, allocations: 0.8961 MB / 1.099 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.72e-07/1.206, allocations: 0 / 1.099 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003209/1.209, allocations: 0.7177 MB / 1.1 GB, free: 74.58 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 (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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/1.211, allocations: 453.4 kB / 1.1 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004696/1.215, allocations: 1.168 MB / 1.101 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.216, allocations: 1.406 kB / 1.101 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00274/1.218, allocations: 0.5841 MB / 1.102 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006558/1.225, allocations: 0.7641 MB / 1.103 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/1.231, allocations: 2.748 MB / 1.105 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009/1.232, allocations: 1.199 MB / 1.106 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002387/1.235, allocations: 309.5 kB / 1.107 GB, free: 71.03 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/1.235, allocations: 103.4 kB / 1.107 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of SimCode: time 1.282e-06/1.235, allocations: 1.062 kB / 1.107 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of Templates: time 0.07515/1.31, allocations: 30.2 MB / 1.136 GB, free: 48.84 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)