Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 103.1 kB / 16.27 MB, free: 5.98 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.001107/0.001107, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.325/1.325, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.734/1.734, allocations: 292.3 MB / 0.5495 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.001414/0.001414, allocations: 67.03 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2554, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.4648/0.7202, allocations: 75.18 MB / 0.8574 GB, free: 15.05 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.7435, allocations: 12.64 MB / 0.8698 GB, free: 5.984 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004095/0.7476, allocations: 63.59 kB / 0.8699 GB, free: 5.961 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.7511, allocations: 0.8291 MB / 0.8707 GB, free: 5.438 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009335/0.7605, allocations: 2.433 MB / 0.873 GB, free: 3.969 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.7654, allocations: 1.396 MB / 0.8744 GB, free: 3.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007964/0.7733, allocations: 4.342 MB / 0.8786 GB, free: 0.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.7766, allocations: 1.435 MB / 0.88 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0051/0.7817, allocations: 1.605 MB / 0.8816 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.7847, allocations: 1.203 MB / 0.8828 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007357/0.7855, allocations: 163.7 kB / 0.8829 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.7902, allocations: 1.42 MB / 0.8843 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008313/0.791, allocations: 405.6 kB / 0.8847 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002457/0.7935, allocations: 0.9131 MB / 0.8856 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007414/0.8009, allocations: 2.859 MB / 0.8884 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.801, allocations: 1.344 kB / 0.8884 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.801, allocations: 0 / 0.8884 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.42e-05/0.8011, allocations: 0 / 0.8884 GB, free: 10.51 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.006551/0.8077, allocations: 2.079 MB / 0.8904 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.8077, allocations: 8.125 kB / 0.8904 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.8091, allocations: 234.8 kB / 0.8907 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.8126, allocations: 1.442 MB / 0.8921 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.8127, allocations: 76.44 kB / 0.8921 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.8129, allocations: 104.9 kB / 0.8922 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.8153, allocations: 1.101 MB / 0.8933 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.8153, allocations: 5.062 kB / 0.8933 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.8154, allocations: 37.25 kB / 0.8934 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.8155, allocations: 24.91 kB / 0.8934 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.8175, allocations: 0.8875 MB / 0.8942 GB, free: 6.445 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.007084/0.8246, allocations: 4.963 MB / 0.8991 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.8261, allocations: 0.6307 MB / 0.8997 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000759/0.8269, allocations: 347.2 kB / 0.9 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000692/0.8276, allocations: 0.834 MB / 0.9009 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.8276, allocations: 38.28 kB / 0.9009 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 3.857e-06/0.8277, allocations: 0 / 0.9009 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of matching and sorting (n=62): time 0.007496/0.8352, allocations: 1.695 MB / 0.9025 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.8352, allocations: 58.38 kB / 0.9026 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.8373, allocations: 1.221 MB / 0.9038 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.8375, allocations: 43.2 kB / 0.9038 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005151/0.838, allocations: 0.5976 MB / 0.9044 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.8383, allocations: 212.4 kB / 0.9046 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.8385, allocations: 160.5 kB / 0.9048 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.8386, allocations: 332.8 kB / 0.9051 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/0.8393, allocations: 291.8 kB / 0.9054 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/0.8402, allocations: 496.9 kB / 0.9058 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.8417, allocations: 0.7117 MB / 0.9065 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.8417, allocations: 3.938 kB / 0.9065 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004934/0.8466, allocations: 1.273 MB / 0.9078 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.8467, allocations: 4 kB / 0.9078 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.8467, allocations: 4 kB / 0.9078 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007696/0.8475, allocations: 157 kB / 0.9079 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.8482, allocations: 171.7 kB / 0.9081 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009103/0.8491, allocations: 0.7095 MB / 0.9088 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.8507, allocations: 119 kB / 0.9089 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/0.8508, allocations: 35.98 kB / 0.9089 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001334/0.8521, allocations: 0.5566 MB / 0.9095 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008219/0.8529, allocations: 487 kB / 0.91 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001351/0.8543, allocations: 0.6965 MB / 0.9106 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/0.8543, allocations: 3.938 kB / 0.9106 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0048/0.8591, allocations: 1.284 MB / 0.9119 GB, free: 7 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8592, allocations: 9.125 kB / 0.9119 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8592, allocations: 0 / 0.9119 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.8598, allocations: 162.5 kB / 0.9121 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.8605, allocations: 155.8 kB / 0.9122 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008415/0.8613, allocations: 0.7243 MB / 0.9129 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.8629, allocations: 103.4 kB / 0.913 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/0.8629, allocations: 35.98 kB / 0.913 GB, free: 5.797 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002688/0.8632, allocations: 228.1 kB / 0.9133 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.8635, allocations: 130.4 kB / 0.9134 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/0.8683, allocations: 1.274 MB / 0.9146 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.8683, allocations: 15.97 kB / 0.9147 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8683, allocations: 4 kB / 0.9147 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004092/0.8724, allocations: 1.111 MB / 0.9157 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00707/0.8795, allocations: 2.625 MB / 0.9183 GB, free: 252 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.8795, allocations: 4 kB / 0.9183 GB, free: 248 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.8801, allocations: 111.9 kB / 0.9184 GB, free: 136 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000635/0.8807, allocations: 153.1 kB / 0.9186 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.8808, allocations: 16 kB / 0.9186 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008317/0.8816, allocations: 0.709 MB / 0.9193 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.8816, allocations: 7.938 kB / 0.9193 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005431/0.8871, allocations: 1.699 MB / 0.9209 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009509/0.888, allocations: 315.2 kB / 0.9212 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.8883, allocations: 15.94 kB / 0.9212 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.8892, allocations: 51.94 kB / 0.9213 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.8893, allocations: 56.31 kB / 0.9214 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.8894, allocations: 39.97 kB / 0.9214 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001264/0.8907, allocations: 0.8736 MB / 0.9222 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8907, allocations: 0 / 0.9222 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002095/0.8928, allocations: 0.7135 MB / 0.9229 GB, free: 11.38 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.8938, allocations: 466.6 kB / 0.9234 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.8968, allocations: 1.174 MB / 0.9245 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.8968, allocations: 4.125 kB / 0.9245 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009392/0.8977, allocations: 390.8 kB / 0.9249 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/0.9021, allocations: 0.8127 MB / 0.9257 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.9062, allocations: 2.324 MB / 0.928 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.907, allocations: 1.16 MB / 0.9291 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.9073, allocations: 115.4 kB / 0.9292 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of SimCode: time 1.253e-06/0.9073, allocations: 0 / 0.9292 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.04193/0.9493, allocations: 31.12 MB / 0.9596 GB, free: 6.086 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)