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.001898/0.001899, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002785/0.002784, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.654/1.654, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.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.82/1.82, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00144/0.00144, allocations: 72.27 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2619, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7426/1.005, allocations: 132.3 MB / 0.9133 GB, free: 45.58 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03795/1.043, allocations: 23.03 MB / 0.9358 GB, free: 45.24 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006769/1.049, allocations: 120.7 kB / 0.9359 GB, free: 45.24 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005516/1.055, allocations: 1.496 MB / 0.9373 GB, free: 45.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01515/1.07, allocations: 4.061 MB / 0.9413 GB, free: 45.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006819/1.077, allocations: 2.202 MB / 0.9435 GB, free: 45.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01401/1.091, allocations: 6.509 MB / 0.9498 GB, free: 42.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004831/1.096, allocations: 2.361 MB / 0.9521 GB, free: 41.4 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009124/1.105, allocations: 2.772 MB / 0.9548 GB, free: 40.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005136/1.11, allocations: 1.888 MB / 0.9567 GB, free: 39.44 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009504/1.111, allocations: 248 kB / 0.9569 GB, free: 39.44 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007848/1.119, allocations: 1.938 MB / 0.9588 GB, free: 38.83 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/1.12, allocations: 0.6029 MB / 0.9594 GB, free: 38.44 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003757/1.124, allocations: 1.462 MB / 0.9608 GB, free: 37.54 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009778/1.134, allocations: 4.385 MB / 0.9651 GB, free: 36.03 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.134, allocations: 4.984 kB / 0.9651 GB, free: 36.03 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/1.134, allocations: 3.938 kB / 0.9651 GB, free: 36.03 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.863e-05/1.134, allocations: 0 / 0.9651 GB, free: 36.03 MB / 0.7169 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.006548/1.141, allocations: 3.186 MB / 0.9682 GB, free: 33.76 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.141, allocations: 8.281 kB / 0.9682 GB, free: 33.76 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/1.145, allocations: 0.846 MB / 0.969 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004216/1.149, allocations: 2.331 MB / 0.9713 GB, free: 31.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/1.149, allocations: 123.5 kB / 0.9714 GB, free: 31.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/1.149, allocations: 163.9 kB / 0.9716 GB, free: 31.54 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/1.153, allocations: 1.918 MB / 0.9735 GB, free: 30.36 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/1.153, allocations: 3.938 kB / 0.9735 GB, free: 30.36 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/1.153, allocations: 61.78 kB / 0.9735 GB, free: 30.31 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/1.153, allocations: 40 kB / 0.9736 GB, free: 30.31 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/1.158, allocations: 1.806 MB / 0.9753 GB, free: 29.41 MB / 0.7169 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.01266/1.17, allocations: 8.996 MB / 0.9841 GB, free: 21.69 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/1.174, allocations: 1.197 MB / 0.9853 GB, free: 21.08 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/1.175, allocations: 459.6 kB / 0.9857 GB, free: 20.86 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.176, allocations: 1.728 MB / 0.9874 GB, free: 18.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.176, allocations: 40.03 kB / 0.9875 GB, free: 18.78 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.437e-06/1.176, allocations: 0 / 0.9875 GB, free: 18.78 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008833/1.185, allocations: 2.355 MB / 0.9898 GB, free: 17.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.185, allocations: 84.98 kB / 0.9898 GB, free: 17.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004178/1.189, allocations: 2.524 MB / 0.9923 GB, free: 16.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001873/1.19, allocations: 48.8 kB / 0.9923 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007217/1.19, allocations: 1.045 MB / 0.9934 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/1.191, allocations: 268 kB / 0.9936 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/1.191, allocations: 260.9 kB / 0.9939 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/1.191, allocations: 343.8 kB / 0.9942 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/1.193, allocations: 0.5731 MB / 0.9948 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/1.195, allocations: 0.9583 MB / 0.9957 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/1.197, allocations: 1.247 MB / 0.9969 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.197, allocations: 2.875 kB / 0.9969 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006136/1.203, allocations: 2.025 MB / 0.9989 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.203, allocations: 11.98 kB / 0.9989 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.203, allocations: 8 kB / 0.9989 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/1.205, allocations: 493.8 kB / 0.9994 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.206, allocations: 275.5 kB / 0.9996 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/1.208, allocations: 1.521 MB / 1.001 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/1.211, allocations: 373.9 kB / 1.001 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.211, allocations: 67.97 kB / 1.002 GB, free: 8.125 MB / 0.7169 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.0008406/1.212, allocations: 462 kB / 1.002 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/1.213, allocations: 248.9 kB / 1.002 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/1.216, allocations: 1.494 MB / 1.004 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/1.216, allocations: 12 kB / 1.004 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.216, allocations: 4 kB / 1.004 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.216, allocations: 3.984 kB / 1.004 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/1.222, allocations: 3.622 MB / 1.007 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.222, allocations: 8.312 kB / 1.007 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/1.223, allocations: 131.8 kB / 1.007 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/1.224, allocations: 496.2 kB / 1.008 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/1.225, allocations: 27.98 kB / 1.008 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/1.227, allocations: 1.585 MB / 1.009 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.227, allocations: 4 kB / 1.009 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/1.233, allocations: 1.931 MB / 1.011 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.234, allocations: 489.6 kB / 1.012 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008308/1.235, allocations: 23.94 kB / 1.012 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.238, allocations: 135.8 kB / 1.012 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.238, allocations: 59.86 kB / 1.012 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.238, allocations: 39.97 kB / 1.012 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00316/1.241, allocations: 1.777 MB / 1.014 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.241, allocations: 0 / 1.014 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002733/1.244, allocations: 0.6944 MB / 1.014 GB, free: 10.68 MB / 0.7325 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.001205/1.245, allocations: 0.6185 MB / 1.015 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004307/1.249, allocations: 1.35 MB / 1.016 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.249, allocations: 0 / 1.016 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002378/1.252, allocations: 0.6791 MB / 1.017 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008307/1.26, allocations: 1.345 MB / 1.018 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/1.269, allocations: 3.557 MB / 1.022 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.271, allocations: 1.484 MB / 1.023 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002578/1.273, allocations: 440 kB / 1.024 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/1.274, allocations: 163.4 kB / 1.024 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/1.274, allocations: 4 kB / 1.024 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of Templates: time 0.08825/1.362, allocations: 48.84 MB / 1.072 GB, free: 0.9688 MB / 0.7794 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)