Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006134/0.006134, allocations: 99.83 kB / 15.73 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.001068/0.001068, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.575/1.575, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.609/1.609, allocations: 251.7 MB / 0.5094 GB, free: 3.02 MB / 414.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.001628/0.001628, allocations: 67.89 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2301, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.6526/0.8827, allocations: 132.2 MB / 0.9572 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03476/0.9175, allocations: 22.95 MB / 0.9796 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007444/0.9249, allocations: 121.7 kB / 0.9797 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005733/0.9307, allocations: 1.494 MB / 0.9812 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01626/0.9471, allocations: 4.061 MB / 0.9851 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007034/0.9541, allocations: 2.209 MB / 0.9873 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01388/0.968, allocations: 6.511 MB / 0.9936 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005952/0.974, allocations: 2.362 MB / 0.9959 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009751/0.9838, allocations: 2.698 MB / 0.9986 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005671/0.9895, allocations: 1.904 MB / 1 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.9908, allocations: 248 kB / 1.001 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007029/0.9979, allocations: 1.858 MB / 1.002 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.9993, allocations: 0.5975 MB / 1.003 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004191/1.003, allocations: 1.456 MB / 1.004 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/1.014, allocations: 4.358 MB / 1.009 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.014, allocations: 0 / 1.009 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of FrontEnd: time 6.833e-06/1.014, allocations: 0 / 1.009 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001079/1.014, allocations: 7.938 kB / 1.009 GB, free: 9.281 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.008087/1.022, allocations: 3.266 MB / 1.012 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001684/1.022, allocations: 12.03 kB / 1.012 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004699/1.027, allocations: 0.8533 MB / 1.013 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006749/1.034, allocations: 2.36 MB / 1.015 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/1.034, allocations: 123 kB / 1.015 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003926/1.034, allocations: 168 kB / 1.015 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/1.039, allocations: 1.923 MB / 1.017 GB, free: 360 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/1.039, allocations: 0 / 1.017 GB, free: 360 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/1.039, allocations: 64 kB / 1.017 GB, free: 296 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/1.039, allocations: 36 kB / 1.017 GB, free: 260 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/1.044, allocations: 1.788 MB / 1.019 GB, free: 14.46 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.01277/1.056, allocations: 8.98 MB / 1.028 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/1.06, allocations: 1.179 MB / 1.029 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/1.062, allocations: 461.4 kB / 1.029 GB, free: 3.23 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/1.063, allocations: 1.723 MB / 1.031 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/1.063, allocations: 42.56 kB / 1.031 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 2.895e-06/1.063, allocations: 3.938 kB / 1.031 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.008566/1.071, allocations: 2.338 MB / 1.033 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.071, allocations: 85.11 kB / 1.034 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/1.075, allocations: 2.504 MB / 1.036 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/1.076, allocations: 45.7 kB / 1.036 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008984/1.076, allocations: 1.047 MB / 1.037 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/1.077, allocations: 289.5 kB / 1.037 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/1.077, allocations: 254.7 kB / 1.038 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.077, allocations: 341.9 kB / 1.038 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.079, allocations: 0.5647 MB / 1.038 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/1.081, allocations: 0.9539 MB / 1.039 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/1.084, allocations: 1.23 MB / 1.041 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.084, allocations: 4 kB / 1.041 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00842/1.092, allocations: 2.31 MB / 1.043 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.092, allocations: 8.625 kB / 1.043 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.092, allocations: 8 kB / 1.043 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/1.094, allocations: 421.2 kB / 1.043 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.095, allocations: 283.5 kB / 1.044 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/1.097, allocations: 1.503 MB / 1.045 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/1.1, allocations: 370.5 kB / 1.045 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/1.1, allocations: 63.91 kB / 1.045 GB, free: 2.031 MB / 0.7794 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 (109): * Single equations (assignments): 107 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00109/1.101, allocations: 463.2 kB / 1.046 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/1.102, allocations: 254.4 kB / 1.046 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/1.106, allocations: 1.497 MB / 1.048 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.106, allocations: 11.94 kB / 1.048 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.106, allocations: 0 / 1.048 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/1.106, allocations: 7.969 kB / 1.048 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008362/1.114, allocations: 3.595 MB / 1.051 GB, free: 12.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/1.114, allocations: 4 kB / 1.051 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/1.115, allocations: 128.1 kB / 1.051 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/1.116, allocations: 424.6 kB / 1.052 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/1.116, allocations: 23.92 kB / 1.052 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/1.119, allocations: 1.569 MB / 1.053 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.119, allocations: 7.938 kB / 1.053 GB, free: 9.879 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/1.125, allocations: 1.958 MB / 1.055 GB, free: 7.863 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.126, allocations: 0.4951 MB / 1.056 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/1.127, allocations: 16 kB / 1.056 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.128, allocations: 135.8 kB / 1.056 GB, free: 7.199 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.129, allocations: 59.8 kB / 1.056 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.129, allocations: 43.97 kB / 1.056 GB, free: 7.098 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003555/1.132, allocations: 1.754 MB / 1.058 GB, free: 5.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.71e-07/1.132, allocations: 0 / 1.058 GB, free: 5.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002488/1.135, allocations: 0.6707 MB / 1.058 GB, free: 4.668 MB / 0.795 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/1.136, allocations: 0.5887 MB / 1.059 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00418/1.14, allocations: 1.334 MB / 1.06 GB, free: 2.746 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.14, allocations: 4 kB / 1.06 GB, free: 2.742 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/1.143, allocations: 0.6641 MB / 1.061 GB, free: 2.078 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006363/1.149, allocations: 1.356 MB / 1.062 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/1.155, allocations: 3.595 MB / 1.066 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.156, allocations: 1.494 MB / 1.067 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001842/1.158, allocations: 432.5 kB / 1.067 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/1.159, allocations: 167.4 kB / 1.068 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of SimCode: time 7.71e-07/1.159, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.07979/1.239, allocations: 48.58 MB / 1.115 GB, free: 11.04 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)