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.001263/0.001263, allocations: 110.4 kB / 16.37 MB, free: 5.953 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.001272/0.001272, allocations: 190.2 kB / 17.31 MB, free: 5.574 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.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001408/0.001408, allocations: 67.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2472, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.5516/0.7989, allocations: 75.16 MB / 0.8582 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.8206, allocations: 12.64 MB / 0.8705 GB, free: 6.023 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004108/0.8247, allocations: 63.16 kB / 0.8706 GB, free: 6 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.8281, allocations: 0.8326 MB / 0.8714 GB, free: 5.473 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009583/0.8377, allocations: 2.435 MB / 0.8738 GB, free: 4 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.8423, allocations: 1.404 MB / 0.8752 GB, free: 3.207 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008298/0.8506, allocations: 4.35 MB / 0.8794 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.8534, allocations: 1.437 MB / 0.8808 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004852/0.8583, allocations: 1.613 MB / 0.8824 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.8612, allocations: 1.202 MB / 0.8836 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000412/0.8616, allocations: 163.7 kB / 0.8837 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.8661, allocations: 1.404 MB / 0.8851 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005252/0.8666, allocations: 405.9 kB / 0.8855 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.8683, allocations: 0.9004 MB / 0.8863 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005254/0.8735, allocations: 2.873 MB / 0.8892 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8736, allocations: 4 kB / 0.8892 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8736, allocations: 0 / 0.8892 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.591e-05/0.8736, allocations: 0 / 0.8892 GB, free: 10.4 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.004484/0.8781, allocations: 2.077 MB / 0.8912 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8782, allocations: 10.12 kB / 0.8912 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/0.8791, allocations: 230.2 kB / 0.8914 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.882, allocations: 1.504 MB / 0.8929 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.8821, allocations: 72.69 kB / 0.893 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.8823, allocations: 105.8 kB / 0.8931 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.8845, allocations: 1.096 MB / 0.8941 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.8846, allocations: 5.062 kB / 0.8941 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/0.8847, allocations: 41.34 kB / 0.8942 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.8847, allocations: 32.27 kB / 0.8942 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.8867, allocations: 0.8864 MB / 0.8951 GB, free: 6.301 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.007379/0.8941, allocations: 4.908 MB / 0.8999 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.8956, allocations: 0.6313 MB / 0.9005 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007345/0.8964, allocations: 345.6 kB / 0.9008 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/0.8971, allocations: 0.8245 MB / 0.9016 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.8972, allocations: 38.28 kB / 0.9016 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=61): time 3.196e-06/0.8972, allocations: 0 / 0.9016 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of matching and sorting (n=61): time 0.007625/0.9048, allocations: 1.687 MB / 0.9033 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.9049, allocations: 58.66 kB / 0.9033 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.907, allocations: 1.22 MB / 0.9045 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.9073, allocations: 43.2 kB / 0.9046 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/0.9079, allocations: 0.5995 MB / 0.9052 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.9082, allocations: 211.8 kB / 0.9054 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.9084, allocations: 152.6 kB / 0.9055 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.9086, allocations: 341.2 kB / 0.9058 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/0.9094, allocations: 291.4 kB / 0.9061 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/0.9103, allocations: 498.9 kB / 0.9066 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.9118, allocations: 0.7051 MB / 0.9073 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9118, allocations: 4 kB / 0.9073 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005073/0.9169, allocations: 1.277 MB / 0.9085 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.917, allocations: 4 kB / 0.9085 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.917, allocations: 4 kB / 0.9085 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.9176, allocations: 138.4 kB / 0.9087 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.9183, allocations: 159.8 kB / 0.9088 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009452/0.9193, allocations: 0.6984 MB / 0.9095 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.9209, allocations: 124.2 kB / 0.9096 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.921, allocations: 31.98 kB / 0.9097 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001331/0.9224, allocations: 0.5488 MB / 0.9102 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008759/0.9232, allocations: 499.8 kB / 0.9107 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001422/0.9247, allocations: 0.7012 MB / 0.9114 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.9247, allocations: 0 / 0.9114 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004856/0.9296, allocations: 1.265 MB / 0.9126 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.9296, allocations: 13.7 kB / 0.9126 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.9296, allocations: 4 kB / 0.9126 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.9302, allocations: 137.1 kB / 0.9127 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.9308, allocations: 159.8 kB / 0.9129 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008445/0.9316, allocations: 0.705 MB / 0.9136 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.9331, allocations: 95.45 kB / 0.9137 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.231e-05/0.9332, allocations: 35.98 kB / 0.9137 GB, free: 5.566 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.0003/0.9335, allocations: 224.1 kB / 0.9139 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.9338, allocations: 138.3 kB / 0.914 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/0.9386, allocations: 1.261 MB / 0.9153 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.9386, allocations: 12 kB / 0.9153 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.9386, allocations: 1.062 kB / 0.9153 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00412/0.9428, allocations: 1.096 MB / 0.9164 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007475/0.9503, allocations: 2.611 MB / 0.9189 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.9503, allocations: 4 kB / 0.9189 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.9509, allocations: 115.8 kB / 0.919 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005314/0.9514, allocations: 132.8 kB / 0.9192 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/0.9515, allocations: 16 kB / 0.9192 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.9568, allocations: 2.598 MB / 0.9217 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.9568, allocations: 4 kB / 0.9217 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/0.9625, allocations: 1.687 MB / 0.9234 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009616/0.9635, allocations: 307.2 kB / 0.9236 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.9638, allocations: 19.98 kB / 0.9237 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/0.9646, allocations: 63.44 kB / 0.9237 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.9648, allocations: 56.31 kB / 0.9238 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.9649, allocations: 31.97 kB / 0.9238 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001326/0.9662, allocations: 0.8815 MB / 0.9247 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9662, allocations: 0 / 0.9247 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002288/0.9685, allocations: 0.7213 MB / 0.9254 GB, free: 9.203 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.001027/0.9696, allocations: 450.3 kB / 0.9258 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002859/0.9724, allocations: 1.122 MB / 0.9269 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.9725, allocations: 1 kB / 0.9269 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.974, allocations: 0.5602 MB / 0.9275 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/0.9781, allocations: 0.8107 MB / 0.9282 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.9822, allocations: 2.287 MB / 0.9305 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/0.983, allocations: 1.168 MB / 0.9316 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.9834, allocations: 107.4 kB / 0.9317 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.9834, allocations: 4 kB / 0.9317 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.04496/1.028, allocations: 31.12 MB / 0.9621 GB, free: 3.824 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)