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.001079/0.001079, allocations: 106.7 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.493/1.493, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.741/1.741, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001369/0.001369, allocations: 66.31 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2686, allocations: 114.6 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07057/0.3392, allocations: 74.52 MB / 0.8563 GB, free: 3.16 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.3589, allocations: 12.55 MB / 0.8685 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.3623, allocations: 59.62 kB / 0.8686 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.3655, allocations: 0.7151 MB / 0.8693 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.3766, allocations: 2.278 MB / 0.8715 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.3807, allocations: 1.294 MB / 0.8728 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007472/0.3882, allocations: 4.369 MB / 0.877 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003231/0.3915, allocations: 1.425 MB / 0.8784 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.3965, allocations: 1.63 MB / 0.88 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.3991, allocations: 1.241 MB / 0.8812 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.3995, allocations: 164 kB / 0.8814 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/0.4036, allocations: 1.419 MB / 0.8828 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005004/0.4041, allocations: 394.6 kB / 0.8832 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.4055, allocations: 0.9099 MB / 0.8841 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.4089, allocations: 2.241 MB / 0.8862 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4089, allocations: 0 / 0.8862 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4089, allocations: 0 / 0.8862 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.883e-05/0.409, allocations: 3.938 kB / 0.8862 GB, free: 4.375 MB / 0.7012 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.004402/0.4134, allocations: 2.083 MB / 0.8883 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4134, allocations: 8.031 kB / 0.8883 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008511/0.4143, allocations: 230.8 kB / 0.8885 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.4168, allocations: 1.469 MB / 0.8899 GB, free: 476 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.4169, allocations: 81.98 kB / 0.89 GB, free: 396 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.417, allocations: 103.9 kB / 0.8901 GB, free: 292 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.419, allocations: 1.096 MB / 0.8912 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.4191, allocations: 0 / 0.8912 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.676e-05/0.4192, allocations: 40 kB / 0.8912 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/0.4192, allocations: 32 kB / 0.8913 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.4212, allocations: 0.886 MB / 0.8921 GB, free: 14.2 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.006445/0.4276, allocations: 4.926 MB / 0.8969 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.429, allocations: 0.6117 MB / 0.8975 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.4297, allocations: 350.3 kB / 0.8979 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/0.4304, allocations: 0.8199 MB / 0.8987 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4304, allocations: 47.06 kB / 0.8987 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.605e-06/0.4304, allocations: 0 / 0.8987 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007132/0.4376, allocations: 1.678 MB / 0.9003 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.4377, allocations: 55.97 kB / 0.9004 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.4398, allocations: 1.205 MB / 0.9016 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.44, allocations: 45.7 kB / 0.9016 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/0.4406, allocations: 0.5947 MB / 0.9022 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.4409, allocations: 216.9 kB / 0.9024 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.4413, allocations: 150.6 kB / 0.9026 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4414, allocations: 337.9 kB / 0.9029 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.4421, allocations: 288.6 kB / 0.9032 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008525/0.443, allocations: 499.9 kB / 0.9036 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.4445, allocations: 0.7206 MB / 0.9043 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4445, allocations: 0 / 0.9043 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004942/0.4494, allocations: 1.265 MB / 0.9056 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.4495, allocations: 7.984 kB / 0.9056 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4495, allocations: 7.984 kB / 0.9056 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.4502, allocations: 136.8 kB / 0.9057 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.4509, allocations: 163.8 kB / 0.9059 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008925/0.4518, allocations: 0.6967 MB / 0.9066 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4533, allocations: 165.8 kB / 0.9067 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4534, allocations: 31.98 kB / 0.9067 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.4547, allocations: 0.5565 MB / 0.9073 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008753/0.4556, allocations: 499.1 kB / 0.9078 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001404/0.457, allocations: 0.6973 MB / 0.9084 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.4571, allocations: 3.938 kB / 0.9084 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004822/0.4619, allocations: 1.273 MB / 0.9097 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4619, allocations: 4 kB / 0.9097 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4619, allocations: 4 kB / 0.9097 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.4625, allocations: 136.9 kB / 0.9098 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.4631, allocations: 159.7 kB / 0.91 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.464, allocations: 0.6927 MB / 0.9107 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.4655, allocations: 143.5 kB / 0.9108 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.061e-05/0.4656, allocations: 31.98 kB / 0.9108 GB, free: 10.13 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.0003272/0.466, allocations: 220.1 kB / 0.911 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/0.4665, allocations: 134.3 kB / 0.9112 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00479/0.4713, allocations: 1.275 MB / 0.9124 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.4713, allocations: 4 kB / 0.9124 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4713, allocations: 4 kB / 0.9124 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004017/0.4753, allocations: 1.099 MB / 0.9135 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007574/0.4829, allocations: 2.598 MB / 0.916 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.483, allocations: 8.062 kB / 0.916 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.4835, allocations: 111.9 kB / 0.9161 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/0.4841, allocations: 136.6 kB / 0.9163 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.4841, allocations: 16 kB / 0.9163 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005141/0.4893, allocations: 2.583 MB / 0.9188 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.4893, allocations: 8 kB / 0.9188 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5846/1.074, allocations: 1.691 MB / 0.9205 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.075, allocations: 299.3 kB / 0.9207 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/1.075, allocations: 19.2 kB / 0.9208 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/1.076, allocations: 94.41 kB / 0.9209 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/1.077, allocations: 58.28 kB / 0.9209 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/1.077, allocations: 33.22 kB / 0.9209 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001739/1.078, allocations: 0.8639 MB / 0.9218 GB, free: 135 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.078, allocations: 1.031 kB / 0.9218 GB, free: 135 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002775/1.081, allocations: 0.711 MB / 0.9225 GB, free: 135 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.001186/1.082, allocations: 438.7 kB / 0.9229 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003299/1.086, allocations: 1.159 MB / 0.924 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.086, allocations: 0.7188 kB / 0.924 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/1.087, allocations: 0.5628 MB / 0.9246 GB, free: 134.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/1.091, allocations: 0.8168 MB / 0.9254 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/1.096, allocations: 2.782 MB / 0.9281 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/1.096, allocations: 1.166 MB / 0.9292 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/1.097, allocations: 111 kB / 0.9293 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.513e-06/1.097, allocations: 0 / 0.9293 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.06077/1.157, allocations: 30.88 MB / 0.9595 GB, free: 120.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)