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.001217/0.001217, allocations: 107.3 kB / 16.35 MB, free: 5.879 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.001286/0.001286, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.832/1.832, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001433/0.001433, allocations: 71.91 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2589, allocations: 114.6 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.5048/0.7637, allocations: 75.16 MB / 0.8582 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.7855, allocations: 12.64 MB / 0.8705 GB, free: 5.789 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003981/0.7895, allocations: 63.25 kB / 0.8706 GB, free: 5.766 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.7925, allocations: 0.8288 MB / 0.8714 GB, free: 5.242 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.803, allocations: 2.434 MB / 0.8738 GB, free: 3.773 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.8089, allocations: 1.407 MB / 0.8751 GB, free: 2.973 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008756/0.8177, allocations: 4.348 MB / 0.8794 GB, free: 468 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.8204, allocations: 1.438 MB / 0.8808 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/0.8252, allocations: 1.624 MB / 0.8824 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.8276, allocations: 1.199 MB / 0.8835 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.828, allocations: 163.7 kB / 0.8837 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004133/0.8321, allocations: 1.401 MB / 0.8851 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004884/0.8327, allocations: 405.2 kB / 0.8854 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.8343, allocations: 0.905 MB / 0.8863 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005545/0.8398, allocations: 2.868 MB / 0.8891 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8399, allocations: 4 kB / 0.8891 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8399, allocations: 4.844 kB / 0.8891 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.649e-05/0.8399, allocations: 0 / 0.8891 GB, free: 10.23 MB / 0.6856 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.004358/0.8443, allocations: 2.08 MB / 0.8912 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.8443, allocations: 10.12 kB / 0.8912 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009132/0.8452, allocations: 234.6 kB / 0.8914 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.8481, allocations: 1.429 MB / 0.8928 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.748e-05/0.8482, allocations: 76.12 kB / 0.8929 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.8484, allocations: 105.1 kB / 0.893 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.8505, allocations: 1.1 MB / 0.894 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.8506, allocations: 5.406 kB / 0.894 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.8507, allocations: 41.34 kB / 0.8941 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/0.8507, allocations: 33.28 kB / 0.8941 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.8527, allocations: 0.8816 MB / 0.895 GB, free: 6.16 MB / 0.6856 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.006852/0.8596, allocations: 4.91 MB / 0.8998 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.8611, allocations: 0.6184 MB / 0.9004 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.8618, allocations: 354.4 kB / 0.9007 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.8625, allocations: 0.8278 MB / 0.9015 GB, free: 496 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.8626, allocations: 40.25 kB / 0.9016 GB, free: 452 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=61): time 2.645e-06/0.8626, allocations: 4 kB / 0.9016 GB, free: 448 kB / 0.6856 GB Notification: Performance of matching and sorting (n=61): time 0.007365/0.8699, allocations: 1.678 MB / 0.9032 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.87, allocations: 58.72 kB / 0.9033 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.8722, allocations: 1.221 MB / 0.9045 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.8723, allocations: 39.2 kB / 0.9045 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.8729, allocations: 0.5996 MB / 0.9051 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.8732, allocations: 219 kB / 0.9053 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.8734, allocations: 152.8 kB / 0.9054 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8736, allocations: 340.8 kB / 0.9058 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.8743, allocations: 287.6 kB / 0.906 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009009/0.8752, allocations: 0.4922 MB / 0.9065 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.8766, allocations: 0.7012 MB / 0.9072 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8766, allocations: 4 kB / 0.9072 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004746/0.8814, allocations: 1.269 MB / 0.9084 GB, free: 11 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.8814, allocations: 8.375 kB / 0.9085 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.8814, allocations: 9.312 kB / 0.9085 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.8821, allocations: 136.7 kB / 0.9086 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.8827, allocations: 155.8 kB / 0.9087 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009411/0.8837, allocations: 0.6975 MB / 0.9094 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.8851, allocations: 119 kB / 0.9095 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.8852, allocations: 37.86 kB / 0.9096 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001238/0.8864, allocations: 0.5526 MB / 0.9101 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008533/0.8873, allocations: 495.9 kB / 0.9106 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001373/0.8886, allocations: 0.7028 MB / 0.9113 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.8887, allocations: 4 kB / 0.9113 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005051/0.8937, allocations: 1.261 MB / 0.9125 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.8938, allocations: 8 kB / 0.9125 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8938, allocations: 4 kB / 0.9125 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005205/0.8943, allocations: 145.1 kB / 0.9127 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.8949, allocations: 151.8 kB / 0.9128 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007999/0.8957, allocations: 0.7045 MB / 0.9135 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.8972, allocations: 99.44 kB / 0.9136 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/0.8972, allocations: 28.06 kB / 0.9136 GB, free: 5.516 MB / 0.7012 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.0003484/0.8976, allocations: 236 kB / 0.9138 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.8979, allocations: 134.3 kB / 0.914 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/0.9026, allocations: 1.256 MB / 0.9152 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.9026, allocations: 4 kB / 0.9152 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9026, allocations: 0 / 0.9152 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004114/0.9068, allocations: 1.103 MB / 0.9163 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006895/0.9137, allocations: 2.622 MB / 0.9188 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.9137, allocations: 7.312 kB / 0.9188 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.9142, allocations: 115.7 kB / 0.9189 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.9147, allocations: 129.1 kB / 0.9191 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.9148, allocations: 19.98 kB / 0.9191 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.9198, allocations: 2.579 MB / 0.9216 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.9198, allocations: 7.938 kB / 0.9216 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/0.9254, allocations: 1.691 MB / 0.9233 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000738/0.9262, allocations: 307.2 kB / 0.9236 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.9264, allocations: 24.06 kB / 0.9236 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008556/0.9273, allocations: 51.88 kB / 0.9236 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9274, allocations: 60.23 kB / 0.9237 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.9275, allocations: 35.98 kB / 0.9237 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001258/0.9287, allocations: 0.8775 MB / 0.9246 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9288, allocations: 0 / 0.9246 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001952/0.9307, allocations: 0.7213 MB / 0.9253 GB, free: 9.148 MB / 0.7169 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.0008685/0.9316, allocations: 463.5 kB / 0.9257 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00257/0.9342, allocations: 1.127 MB / 0.9268 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9342, allocations: 192 / 0.9268 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.9357, allocations: 0.5602 MB / 0.9274 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/0.939, allocations: 0.8041 MB / 0.9282 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.9425, allocations: 2.252 MB / 0.9304 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.9433, allocations: 1.172 MB / 0.9315 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001071/0.9444, allocations: 309.1 kB / 0.9318 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.9447, allocations: 111.4 kB / 0.9319 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.9447, allocations: 0 / 0.9319 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of Templates: time 0.05243/0.9971, allocations: 32.34 MB / 0.9635 GB, free: 2.465 MB / 0.7481 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)