Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 113.4 kB / 16.37 MB, free: 6.012 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.001339/0.001339, allocations: 192.9 kB / 17.31 MB, free: 5.609 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.382/1.382, 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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001451/0.001451, allocations: 71.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2466, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5848/0.8315, allocations: 132.3 MB / 0.9139 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03518/0.8668, allocations: 23.02 MB / 0.9364 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007827/0.8747, allocations: 119.2 kB / 0.9365 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005471/0.8802, allocations: 1.498 MB / 0.938 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.8935, allocations: 4.061 MB / 0.942 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006888/0.9004, allocations: 2.204 MB / 0.9441 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01035/0.9108, allocations: 6.504 MB / 0.9505 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.9152, allocations: 2.364 MB / 0.9528 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007687/0.9229, allocations: 2.769 MB / 0.9555 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.927, allocations: 1.894 MB / 0.9573 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008544/0.9279, allocations: 248 kB / 0.9576 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005771/0.9336, allocations: 1.934 MB / 0.9595 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.9348, allocations: 0.6031 MB / 0.9601 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.9375, allocations: 1.462 MB / 0.9615 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008844/0.9464, allocations: 4.386 MB / 0.9658 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.9464, allocations: 4 kB / 0.9658 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.106e-06/0.9464, allocations: 3.938 kB / 0.9658 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001287/0.9466, allocations: 0 / 0.9658 GB, free: 1.059 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007408/0.954, allocations: 3.192 MB / 0.9689 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9541, allocations: 8.031 kB / 0.9689 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.9587, allocations: 0.844 MB / 0.9697 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005155/0.9639, allocations: 2.319 MB / 0.972 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.9641, allocations: 127 kB / 0.9721 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004875/0.9646, allocations: 166.1 kB / 0.9723 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.9698, allocations: 1.915 MB / 0.9741 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.9699, allocations: 7.938 kB / 0.9741 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.9701, allocations: 63.98 kB / 0.9742 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.9702, allocations: 43.94 kB / 0.9742 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.9754, allocations: 1.799 MB / 0.976 GB, free: 6.348 MB / 0.7637 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.01551/0.9909, allocations: 8.99 MB / 0.9848 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/0.9954, allocations: 1.19 MB / 0.9859 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.9966, allocations: 461.4 kB / 0.9864 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/0.9979, allocations: 1.73 MB / 0.9881 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.9979, allocations: 42.56 kB / 0.9881 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/0.998, allocations: 0 / 0.9881 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.008929/1.007, allocations: 2.339 MB / 0.9904 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/1.007, allocations: 89.05 kB / 0.9905 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/1.011, allocations: 2.528 MB / 0.993 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/1.011, allocations: 45.7 kB / 0.993 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008853/1.012, allocations: 1.045 MB / 0.994 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/1.013, allocations: 268.2 kB / 0.9943 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/1.013, allocations: 262.6 kB / 0.9945 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.013, allocations: 345.9 kB / 0.9949 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/1.015, allocations: 0.5725 MB / 0.9954 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/1.017, allocations: 0.9504 MB / 0.9963 GB, free: 240 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/1.02, allocations: 1.26 MB / 0.9976 GB, free: 14.86 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/1.02, allocations: 4 kB / 0.9976 GB, free: 14.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006709/1.027, allocations: 2.021 MB / 0.9996 GB, free: 12.83 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/1.027, allocations: 8 kB / 0.9996 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.027, allocations: 8 kB / 0.9996 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.029, allocations: 497.4 kB / 1 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.03, allocations: 279.5 kB / 1 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/1.033, allocations: 1.518 MB / 1.002 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/1.036, allocations: 366 kB / 1.002 GB, free: 10.12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/1.036, allocations: 61.77 kB / 1.002 GB, free: 10.06 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001033/1.037, allocations: 466.5 kB / 1.003 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006466/1.038, allocations: 252.9 kB / 1.003 GB, free: 9.348 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/1.041, allocations: 1.498 MB / 1.004 GB, free: 7.852 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/1.041, allocations: 16 kB / 1.004 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/1.041, allocations: 0 / 1.004 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.041, allocations: 3.984 kB / 1.004 GB, free: 7.832 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008185/1.05, allocations: 3.623 MB / 1.008 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.05, allocations: 0 / 1.008 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/1.05, allocations: 132.2 kB / 1.008 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/1.052, allocations: 489.1 kB / 1.008 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/1.052, allocations: 27.98 kB / 1.009 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/1.055, allocations: 1.583 MB / 1.01 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.055, allocations: 4 kB / 1.01 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/1.061, allocations: 1.945 MB / 1.012 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/1.063, allocations: 493.5 kB / 1.012 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/1.063, allocations: 20 kB / 1.012 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.065, allocations: 139.8 kB / 1.013 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/1.065, allocations: 51.81 kB / 1.013 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/1.065, allocations: 47.95 kB / 1.013 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003096/1.068, allocations: 1.769 MB / 1.014 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/1.068, allocations: 0 / 1.014 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002347/1.071, allocations: 0.7022 MB / 1.015 GB, free: 12.59 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/1.072, allocations: 0.6142 MB / 1.016 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004262/1.076, allocations: 1.354 MB / 1.017 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.076, allocations: 4.125 kB / 1.017 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/1.079, allocations: 0.6863 MB / 1.018 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007055/1.086, allocations: 1.35 MB / 1.019 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006681/1.092, allocations: 3.58 MB / 1.023 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.094, allocations: 1.49 MB / 1.024 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006746/1.094, allocations: 179.4 kB / 1.024 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of SimCode: time 1.252e-06/1.094, allocations: 0 / 1.024 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of Templates: time 0.08459/1.179, allocations: 62.71 MB / 1.085 GB, free: 4.961 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)