Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 191.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 66.45 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3018, allocations: 114.5 MB / 0.7833 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08389/0.3857, allocations: 75.18 MB / 0.8568 GB, free: 2.047 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.408, allocations: 12.65 MB / 0.8691 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003788/0.4118, allocations: 63.62 kB / 0.8692 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.415, allocations: 0.8268 MB / 0.87 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009174/0.4242, allocations: 2.436 MB / 0.8724 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/0.4298, allocations: 1.387 MB / 0.8737 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008796/0.4386, allocations: 4.346 MB / 0.878 GB, free: 12.29 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003094/0.4417, allocations: 1.437 MB / 0.8794 GB, free: 10.82 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.4462, allocations: 1.627 MB / 0.8809 GB, free: 9.195 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.4488, allocations: 1.186 MB / 0.8821 GB, free: 8.004 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.0006587/0.4495, allocations: 164 kB / 0.8823 GB, free: 7.844 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/0.454, allocations: 1.404 MB / 0.8836 GB, free: 6.438 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0009264/0.4549, allocations: 402.6 kB / 0.884 GB, free: 6.043 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.4573, allocations: 0.8983 MB / 0.8849 GB, free: 5.141 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.006147/0.4635, allocations: 2.844 MB / 0.8877 GB, free: 2.289 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4635, allocations: 0 / 0.8877 GB, free: 2.289 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4635, allocations: 0 / 0.8877 GB, free: 2.289 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 9.623e-05/0.4636, allocations: 0 / 0.8877 GB, free: 2.289 MB / 0.7013 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.004815/0.4685, allocations: 2.087 MB / 0.8897 GB, free: 140 kB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4685, allocations: 8.031 kB / 0.8897 GB, free: 132 kB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.4694, allocations: 230.8 kB / 0.8899 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.4718, allocations: 1.43 MB / 0.8913 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.4719, allocations: 78 kB / 0.8914 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.472, allocations: 103.9 kB / 0.8915 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.474, allocations: 1.104 MB / 0.8926 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.474, allocations: 4 kB / 0.8926 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/0.4741, allocations: 40 kB / 0.8926 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.4742, allocations: 27.94 kB / 0.8927 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.4762, allocations: 0.8822 MB / 0.8935 GB, free: 12.15 MB / 0.7169 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.006819/0.483, allocations: 4.969 MB / 0.8984 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.4845, allocations: 0.6128 MB / 0.899 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006956/0.4852, allocations: 361.1 kB / 0.8993 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007749/0.486, allocations: 0.8238 MB / 0.9001 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.486, allocations: 39.12 kB / 0.9002 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.125e-06/0.486, allocations: 0 / 0.9002 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.00723/0.4933, allocations: 1.678 MB / 0.9018 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.4933, allocations: 59.97 kB / 0.9019 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.4953, allocations: 1.221 MB / 0.903 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.4955, allocations: 45.7 kB / 0.9031 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.496, allocations: 0.5947 MB / 0.9037 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.4963, allocations: 212.9 kB / 0.9039 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.4967, allocations: 154.6 kB / 0.904 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4968, allocations: 337.9 kB / 0.9043 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/0.4975, allocations: 288.7 kB / 0.9046 GB, free: 212 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009019/0.4984, allocations: 0.4921 MB / 0.9051 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.4999, allocations: 0.7012 MB / 0.9058 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4999, allocations: 4 kB / 0.9058 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004879/0.5048, allocations: 1.273 MB / 0.907 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.5048, allocations: 10.81 kB / 0.907 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5048, allocations: 4 kB / 0.907 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.5054, allocations: 133.1 kB / 0.9072 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.5061, allocations: 167.8 kB / 0.9073 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.5071, allocations: 0.7004 MB / 0.908 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.5084, allocations: 123.1 kB / 0.9081 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.5086, allocations: 39.92 kB / 0.9082 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/0.5099, allocations: 0.5566 MB / 0.9087 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009454/0.5109, allocations: 499.2 kB / 0.9092 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001474/0.5124, allocations: 0.6972 MB / 0.9099 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.5124, allocations: 0 / 0.9099 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004941/0.5173, allocations: 1.265 MB / 0.9111 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5174, allocations: 8 kB / 0.9111 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5174, allocations: 4 kB / 0.9111 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/0.5179, allocations: 141 kB / 0.9113 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.5185, allocations: 159.8 kB / 0.9114 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008241/0.5193, allocations: 0.6889 MB / 0.9121 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.5207, allocations: 115.3 kB / 0.9122 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/0.5208, allocations: 31.98 kB / 0.9122 GB, free: 8.082 MB / 0.7325 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.0003289/0.5211, allocations: 230.6 kB / 0.9124 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.5216, allocations: 134.3 kB / 0.9126 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/0.5264, allocations: 1.259 MB / 0.9138 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.5265, allocations: 7.984 kB / 0.9138 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5265, allocations: 4 kB / 0.9138 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004171/0.5307, allocations: 1.099 MB / 0.9149 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007456/0.5381, allocations: 2.61 MB / 0.9174 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.5382, allocations: 4 kB / 0.9174 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.5387, allocations: 115.8 kB / 0.9175 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000532/0.5392, allocations: 137 kB / 0.9177 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.5393, allocations: 20 kB / 0.9177 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.613/1.152, allocations: 2.569 MB / 0.9202 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.152, allocations: 8.25 kB / 0.9202 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006256/1.159, allocations: 1.698 MB / 0.9219 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008059/1.159, allocations: 306.6 kB / 0.9222 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/1.16, allocations: 18.89 kB / 0.9222 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000807/1.16, allocations: 55.14 kB / 0.9222 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.161, allocations: 58.98 kB / 0.9223 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/1.161, allocations: 32.61 kB / 0.9223 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001516/1.162, allocations: 0.8798 MB / 0.9232 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/1.162, allocations: 0 / 0.9232 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002445/1.165, allocations: 0.7171 MB / 0.9239 GB, free: 134.4 MB / 0.7325 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.001038/1.166, allocations: 456.2 kB / 0.9243 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00301/1.169, allocations: 1.161 MB / 0.9254 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.169, allocations: 2.875 kB / 0.9254 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/1.17, allocations: 0.5586 MB / 0.926 GB, free: 134 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.174, allocations: 0.8114 MB / 0.9268 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/1.178, allocations: 2.293 MB / 0.929 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/1.178, allocations: 1.171 MB / 0.9302 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001332/1.179, allocations: 309.4 kB / 0.9305 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/1.18, allocations: 104.7 kB / 0.9306 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.18, allocations: 0 / 0.9306 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.06911/1.249, allocations: 32.38 MB / 0.9622 GB, free: 118.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)