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.001218/0.001218, allocations: 111.7 kB / 16.38 MB, free: 6.008 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.001222/0.001222, allocations: 188.3 kB / 17.31 MB, free: 5.621 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.854/1.854, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.002341/0.002341, allocations: 67.91 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2688, allocations: 114.6 MB / 0.7848 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.4688/0.7377, allocations: 75.16 MB / 0.8582 GB, free: 14.87 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.7571, allocations: 12.64 MB / 0.8705 GB, free: 5.809 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.7603, allocations: 63.88 kB / 0.8706 GB, free: 5.785 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.7627, allocations: 0.8305 MB / 0.8714 GB, free: 5.262 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007048/0.7698, allocations: 2.43 MB / 0.8738 GB, free: 3.797 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.7735, allocations: 1.409 MB / 0.8752 GB, free: 2.992 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007344/0.7808, allocations: 4.35 MB / 0.8794 GB, free: 456 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.7834, allocations: 1.435 MB / 0.8808 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.788, allocations: 1.619 MB / 0.8824 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.7911, allocations: 1.199 MB / 0.8836 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004751/0.7916, allocations: 162.8 kB / 0.8837 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.7955, allocations: 1.409 MB / 0.8851 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006259/0.7962, allocations: 401.8 kB / 0.8855 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.7977, allocations: 0.9006 MB / 0.8864 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.8029, allocations: 2.873 MB / 0.8892 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.803, allocations: 0 / 0.8892 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/0.803, allocations: 0 / 0.8892 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.503e-05/0.803, allocations: 0 / 0.8892 GB, free: 10.2 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.004223/0.8072, allocations: 2.086 MB / 0.8912 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8073, allocations: 8.312 kB / 0.8912 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.8083, allocations: 234.5 kB / 0.8914 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.8111, allocations: 1.496 MB / 0.8929 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.8112, allocations: 82.83 kB / 0.893 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.8114, allocations: 105.4 kB / 0.8931 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.8137, allocations: 1.099 MB / 0.8941 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.8137, allocations: 1.062 kB / 0.8941 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.8138, allocations: 41.66 kB / 0.8942 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.8138, allocations: 25.31 kB / 0.8942 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.8159, allocations: 0.8859 MB / 0.8951 GB, free: 6.098 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.006899/0.8228, allocations: 4.911 MB / 0.8999 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.8243, allocations: 0.6177 MB / 0.9005 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007495/0.8251, allocations: 353.6 kB / 0.9008 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006634/0.8257, allocations: 0.8248 MB / 0.9016 GB, free: 436 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.8258, allocations: 46.59 kB / 0.9017 GB, free: 384 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=61): time 2.424e-06/0.8258, allocations: 4 kB / 0.9017 GB, free: 380 kB / 0.6856 GB Notification: Performance of matching and sorting (n=61): time 0.00766/0.8334, allocations: 1.674 MB / 0.9033 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.8335, allocations: 58.84 kB / 0.9033 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.8353, allocations: 1.225 MB / 0.9045 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.8355, allocations: 39.86 kB / 0.9046 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.8361, allocations: 0.5995 MB / 0.9052 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.8364, allocations: 215.3 kB / 0.9054 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.8367, allocations: 157.1 kB / 0.9055 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8368, allocations: 332.8 kB / 0.9058 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007793/0.8376, allocations: 286.4 kB / 0.9061 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009647/0.8386, allocations: 0.4946 MB / 0.9066 GB, free: 13 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.8401, allocations: 0.7153 MB / 0.9073 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8401, allocations: 0 / 0.9073 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005063/0.8452, allocations: 1.269 MB / 0.9085 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.8452, allocations: 9.406 kB / 0.9085 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.8452, allocations: 8.312 kB / 0.9086 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006835/0.8459, allocations: 141.9 kB / 0.9087 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.8467, allocations: 155.8 kB / 0.9088 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009902/0.8477, allocations: 0.6991 MB / 0.9095 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.8493, allocations: 115 kB / 0.9096 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.8494, allocations: 40.05 kB / 0.9097 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001224/0.8507, allocations: 0.5488 MB / 0.9102 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009079/0.8516, allocations: 499.8 kB / 0.9107 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001452/0.853, allocations: 0.6934 MB / 0.9114 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.189e-06/0.8531, allocations: 4 kB / 0.9114 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00488/0.8579, allocations: 1.269 MB / 0.9126 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.858, allocations: 4 kB / 0.9126 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.858, allocations: 6.031 kB / 0.9126 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.8585, allocations: 141.1 kB / 0.9127 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.8591, allocations: 163.7 kB / 0.9129 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007933/0.8599, allocations: 0.6928 MB / 0.9136 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.8612, allocations: 99.44 kB / 0.9137 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.8613, allocations: 31.98 kB / 0.9137 GB, free: 5.469 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.0002479/0.8616, allocations: 232.1 kB / 0.9139 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.8618, allocations: 134.3 kB / 0.9141 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.8666, allocations: 1.256 MB / 0.9153 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004214/0.8708, allocations: 1.103 MB / 0.9164 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.8708, allocations: 3.5 kB / 0.9164 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006902/0.8715, allocations: 299.2 kB / 0.9166 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.8717, allocations: 23.94 kB / 0.9167 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/0.8725, allocations: 47.94 kB / 0.9167 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.8726, allocations: 48.48 kB / 0.9168 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002747/0.8754, allocations: 0.9599 MB / 0.9177 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002453/0.8779, allocations: 1.334 MB / 0.919 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006907/0.8786, allocations: 324.3 kB / 0.9193 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001237/0.8798, allocations: 0.8573 MB / 0.9201 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of Backend: time 3.9e-07/0.8798, allocations: 0 / 0.9201 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004236/0.8841, allocations: 1.382 MB / 0.9215 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of SimCode: time 0.006945/0.891, allocations: 3.107 MB / 0.9245 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.05484/0.9459, allocations: 33.55 MB / 0.9573 GB, free: 9.199 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)